{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 232,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 准备工作\n",
    "import requests,json\n",
    "import pandas as pd\n",
    "from PIL import Image\n",
    "from io import BytesIO\n",
    "zhou_key = \"a24e04cfaf285a2af77f76b527b2128b\"  # 到高德api注册账号申请web服务API类型key"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 176,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 准备起始点和终点\n",
    "# 数据准备： \n",
    "origin = \"山东省聊城市东昌府区盛世柳园D区\"\n",
    "destination = \"山东省聊城市东昌府区北顺小学\"\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 177,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 函数\n",
    "def geocode(key,address,city=None,batch=\"false\",output=\"JSON\",callback=None)->str:\n",
    "    \"\"\"高德API地理编码获取\"\"\"\n",
    "    url = \"https://restapi.amap.com/v3/geocode/geo?parameters\"\n",
    "    params_geocode = {\n",
    "    \"key\":key,\n",
    "    \"address\":address,\n",
    "    \"city\":city,\n",
    "    \"batch\":batch,\n",
    "    \"output\":output,\n",
    "    \"callback\":callback\n",
    "    }\n",
    "    response = requests.get(url=url_geocode,params=params_geocode)\n",
    "    results = response.json()['geocodes'][0]['location']  # 列表提取\n",
    "    \n",
    "    return results\n",
    "    "
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 178,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Help on function geocode in module __main__:\n",
      "\n",
      "geocode(key, address, city=None, batch='false', output='JSON', callback=None) -> str\n",
      "    高德API地理编码获取\n",
      "\n"
     ]
    }
   ],
   "source": [
    "help(geocode)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 179,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "'115.988102,36.432861'"
      ]
     },
     "execution_count": 179,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "results_起始点 = geocode(zhou_key,origin)\n",
    "results_起始点"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 180,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "'115.982030,36.458287'"
      ]
     },
     "execution_count": 180,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "results_终点 = geocode(zhou_key,destination)\n",
    "results_终点"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 181,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 逆地理密码的应用\n",
    "# 1.逆地理编码可以将经纬度转换为详细结构化的地址，且返回附近周边的POI、AOI信息。\n",
    "# 2.url:https://restapi.amap.com/v3/geocode/regeo?parameters （官网有提供）\n",
    "# 3.requests.get()\n",
    "# 4.参数：\n",
    "# 4.1必选参数：key、location(经纬度坐标)\n",
    "# 4.2可选参数：\n",
    "# poitype(返回附近POI类型,需要extensions参数为all时才生效,参数仅支持传入POI TYPECODE，可以传入多个POI TYPECODE，相互之间用“|”分隔。该参数在 batch 取值为true时不生效。获取 POI TYPECODE 可以参考POI分类码表\n",
    "# radius（搜索半径，取值范围在0~3000，默认是1000。单位：米，缺省值：1000）\n",
    "# extensions(默认取值是 base，也就是返回基本地址信息；值为 all 时会返回基本地址信息、附近 POI 内容、道路信息以及道路交叉口信息。)\n",
    "# batch(参数设置为 true 时进行批量查询操作，最多支持 20 个经纬度点进行批量地址查询操作。设置为 false 时进行单点查询，此时即使传入多个经纬度也只返回第一个经纬度的地址解析查询结果。)\n",
    "# roadlevel（道路等级。当roadlevel=0时，显示所有道路，当roadlevel=1时，过滤非主干道路，仅输出主干道路数据。需要 extensions 参数为 all 时才生效）\n",
    "# output\n",
    "# callback\n",
    "# homeorcorp（供三个可选参数：0：不对召回的排序策略进行干扰。1：综合大数据分析将居家相关的 POI 内容优先返回，即优化返回结果中 pois 字段的poi顺序。2：综合大数据分析将公司相关的 POI 内容优先返回，即优化返回结果中 pois 字段的poi顺序。需要 extensions 参数为 all 时才生效）\n",
    "# 5.具体应用场景：提供给用户搜索当前所在地周边的生活基础设施，了解当前所在地的繁荣度。"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 182,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 数据准备\n",
    "address_1 = \"山东省聊城市聊城大学\" \n",
    "city_1 = \"山东\"\n",
    "# 每次获取地理编码，只需要在此处填写目标地址和目标地址所在城市（省份）"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 183,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 逆地理密码的获取\n",
    "\"\"\"获取逆地理编码函数\"\"\"\n",
    "\"\"\"location为目标地址的坐标\"\"\"\n",
    "def Inverse_geocoding(key,location,poitype=None,radius=1000,extensions='all',batch='false',output='JSON',callback=None,roadlevel=1,homeorcorp=0):\n",
    "    url = \"https://restapi.amap.com/v3/geocode/regeo?parameters\"\n",
    "    params = {\n",
    "        \"key\":key,\n",
    "        \"location\":location,\n",
    "        \"poitype\":poitype,\n",
    "        \"radius\":radius,\n",
    "        \"extensions\":extensions,\n",
    "        \"batch\":batch,\n",
    "        \"output\":output,\n",
    "        \"callback\":callback,\n",
    "        \"roadlevel\":roadlevel,\n",
    "        \"homeorcorp\":homeorcorp\n",
    "}\n",
    "    response = requests.get(url=url,params=params)\n",
    "    results = pd.json_normalize(response.json()['regeocode']['pois'])\n",
    "    return results  # 返回值"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 184,
   "metadata": {},
   "outputs": [],
   "source": [
    "location_聊城大学 = geocode(zhou_key,address_1,city_1)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 185,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>id</th>\n",
       "      <th>direction</th>\n",
       "      <th>businessarea</th>\n",
       "      <th>address</th>\n",
       "      <th>poiweight</th>\n",
       "      <th>name</th>\n",
       "      <th>location</th>\n",
       "      <th>distance</th>\n",
       "      <th>tel</th>\n",
       "      <th>type</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>B0FFHFHJYD</td>\n",
       "      <td>西北</td>\n",
       "      <td>[]</td>\n",
       "      <td>湖南路</td>\n",
       "      <td>0.48</td>\n",
       "      <td>聊城大学(东校区)</td>\n",
       "      <td>116.011148,36.431372</td>\n",
       "      <td>89.0061</td>\n",
       "      <td>0635-8239922;0635-8239115</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>B0FFFVD2BJ</td>\n",
       "      <td>东北</td>\n",
       "      <td>[]</td>\n",
       "      <td>聊城大学东校区内</td>\n",
       "      <td>0.48</td>\n",
       "      <td>聊城大学(东校区)-逸夫图书馆</td>\n",
       "      <td>116.012272,36.431545</td>\n",
       "      <td>72.889</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;图书馆;图书馆</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>B027B0OQ7O</td>\n",
       "      <td>东北</td>\n",
       "      <td>[]</td>\n",
       "      <td>东湖路聊城大学东校区19号</td>\n",
       "      <td>0.02982</td>\n",
       "      <td>聊城大学东校区-建筑工程学院</td>\n",
       "      <td>116.013973,36.432928</td>\n",
       "      <td>284.623</td>\n",
       "      <td>0635-8239583</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>B0FFH39NEO</td>\n",
       "      <td>西南</td>\n",
       "      <td>[]</td>\n",
       "      <td>柳园街道湖南路1号</td>\n",
       "      <td>0.154335</td>\n",
       "      <td>太平洋岛国研究中心</td>\n",
       "      <td>116.009915,36.429988</td>\n",
       "      <td>212.548</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;科教文化场所;科教文化场所</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>B0FFFO24HY</td>\n",
       "      <td>东南</td>\n",
       "      <td>[]</td>\n",
       "      <td>聊城大学东校区3号楼北</td>\n",
       "      <td>0.185417</td>\n",
       "      <td>博苑餐厅</td>\n",
       "      <td>116.013423,36.429964</td>\n",
       "      <td>168.178</td>\n",
       "      <td>13969527981</td>\n",
       "      <td>餐饮服务;中餐厅;中餐厅</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>B0FFF899AQ</td>\n",
       "      <td>南</td>\n",
       "      <td>[]</td>\n",
       "      <td>湖南路北150米</td>\n",
       "      <td>0.0451512</td>\n",
       "      <td>聊城大学东校3号楼教学</td>\n",
       "      <td>116.011213,36.428468</td>\n",
       "      <td>282.566</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;培训机构;培训机构</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>B0FFF7MS7L</td>\n",
       "      <td>南</td>\n",
       "      <td>[]</td>\n",
       "      <td>聊城大学农学院</td>\n",
       "      <td>0.0451</td>\n",
       "      <td>聊城大学东校区办公楼1号楼</td>\n",
       "      <td>116.011512,36.429784</td>\n",
       "      <td>134.474</td>\n",
       "      <td>[]</td>\n",
       "      <td>地名地址信息;门牌信息;楼栋号</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>B027B0OWWE</td>\n",
       "      <td>西南</td>\n",
       "      <td>[]</td>\n",
       "      <td>湖南路附近</td>\n",
       "      <td>0.129193</td>\n",
       "      <td>聊城大学东校区教学楼2号楼</td>\n",
       "      <td>116.009680,36.428407</td>\n",
       "      <td>348.213</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;学校;学校</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>B0FFLK3X7S</td>\n",
       "      <td>西南</td>\n",
       "      <td>[]</td>\n",
       "      <td>聊城大学东校区教学楼1号向西</td>\n",
       "      <td>0.15337</td>\n",
       "      <td>聊城大学(东校区)-数科院</td>\n",
       "      <td>116.010177,36.428395</td>\n",
       "      <td>325.083</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;科教文化场所;科教文化场所</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>B027B0P6F6</td>\n",
       "      <td>东</td>\n",
       "      <td>[]</td>\n",
       "      <td>湖南路1号聊城大学东校区</td>\n",
       "      <td>0.174476</td>\n",
       "      <td>翰苑餐厅</td>\n",
       "      <td>116.015468,36.430802</td>\n",
       "      <td>312.412</td>\n",
       "      <td>13306350213;0635-5152599</td>\n",
       "      <td>餐饮服务;餐饮相关场所;餐饮相关</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>B0FFF8RFNA</td>\n",
       "      <td>东南</td>\n",
       "      <td>[]</td>\n",
       "      <td>湖南路一号聊城大学东校区</td>\n",
       "      <td>0.0451528</td>\n",
       "      <td>群星公寓3号楼</td>\n",
       "      <td>116.013224,36.428984</td>\n",
       "      <td>243.649</td>\n",
       "      <td>[]</td>\n",
       "      <td>地名地址信息;门牌信息;楼栋号</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>B0FFHK6DAT</td>\n",
       "      <td>北</td>\n",
       "      <td>[]</td>\n",
       "      <td>湖南路</td>\n",
       "      <td>0.456375</td>\n",
       "      <td>聊城大学东校区日晷</td>\n",
       "      <td>116.012155,36.434058</td>\n",
       "      <td>347.853</td>\n",
       "      <td>[]</td>\n",
       "      <td>风景名胜;风景名胜;风景名胜</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>B0FFHK5WQV</td>\n",
       "      <td>北</td>\n",
       "      <td>[]</td>\n",
       "      <td>湖南路聊城大学东校区日晷附近</td>\n",
       "      <td>0.31303</td>\n",
       "      <td>聊城大学植物园</td>\n",
       "      <td>116.012078,36.434083</td>\n",
       "      <td>350.39</td>\n",
       "      <td>[]</td>\n",
       "      <td>风景名胜;公园广场;植物园</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>B0FFF8SBLQ</td>\n",
       "      <td>西</td>\n",
       "      <td>[]</td>\n",
       "      <td>东湖路与秋实路交叉口东150米</td>\n",
       "      <td>0.0451528</td>\n",
       "      <td>聊城大学东校4号楼教学</td>\n",
       "      <td>116.007769,36.430430</td>\n",
       "      <td>380.893</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;培训机构;培训机构</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>B0FFKAW21Z</td>\n",
       "      <td>西南</td>\n",
       "      <td>[]</td>\n",
       "      <td>柳园街道湖南路1号</td>\n",
       "      <td>0.157337</td>\n",
       "      <td>聊城大学东校区材料科学与工程学院实验楼</td>\n",
       "      <td>116.007822,36.428642</td>\n",
       "      <td>450.897</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;学校;学校</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>B0FFJIKB4M</td>\n",
       "      <td>西南</td>\n",
       "      <td>[]</td>\n",
       "      <td>湖南路聊城大学东校区</td>\n",
       "      <td>0.154126</td>\n",
       "      <td>聊城大学东校区化学化工学院</td>\n",
       "      <td>116.007905,36.429111</td>\n",
       "      <td>417.099</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>B0FFIZGHR8</td>\n",
       "      <td>北</td>\n",
       "      <td>[]</td>\n",
       "      <td>聊城大学</td>\n",
       "      <td>0.180281</td>\n",
       "      <td>天象馆</td>\n",
       "      <td>116.012723,36.434646</td>\n",
       "      <td>418.209</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;科教文化场所;科教文化场所</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>B0FFF83HGH</td>\n",
       "      <td>东南</td>\n",
       "      <td>[]</td>\n",
       "      <td>聊城大学东校区群星公寓11号楼</td>\n",
       "      <td>0.0451512</td>\n",
       "      <td>群星公寓11号楼</td>\n",
       "      <td>116.015193,36.429001</td>\n",
       "      <td>358.877</td>\n",
       "      <td>[]</td>\n",
       "      <td>地名地址信息;门牌信息;楼栋号</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>B0FFL2J92W</td>\n",
       "      <td>东北</td>\n",
       "      <td>[]</td>\n",
       "      <td>湖南路一号</td>\n",
       "      <td>0.153071</td>\n",
       "      <td>历史文化与旅游学院</td>\n",
       "      <td>116.014654,36.434301</td>\n",
       "      <td>444.409</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>B027B0OQLV</td>\n",
       "      <td>西南</td>\n",
       "      <td>[]</td>\n",
       "      <td>湖南路1号聊城大学3号实验楼</td>\n",
       "      <td>0.073506</td>\n",
       "      <td>聊城大学-生命科学学院</td>\n",
       "      <td>116.006870,36.428070</td>\n",
       "      <td>557.123</td>\n",
       "      <td>0635-8239922</td>\n",
       "      <td>科教文化服务;科教文化场所;科教文化场所</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>B0FFH9FSKF</td>\n",
       "      <td>东北</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>0.218304</td>\n",
       "      <td>聊城大学东校区6号教学楼</td>\n",
       "      <td>116.015017,36.434381</td>\n",
       "      <td>469.933</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>B0FFJYB3PZ</td>\n",
       "      <td>西</td>\n",
       "      <td>[]</td>\n",
       "      <td>湖南路1号</td>\n",
       "      <td>0.15359</td>\n",
       "      <td>聊城大学生物制药研究院</td>\n",
       "      <td>116.006904,36.432052</td>\n",
       "      <td>470.884</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;科教文化场所;科教文化场所</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>B027B02MRO</td>\n",
       "      <td>东南</td>\n",
       "      <td>[]</td>\n",
       "      <td>湖南路南50米</td>\n",
       "      <td>0.153993</td>\n",
       "      <td>聊城市药品不良反应监测中心</td>\n",
       "      <td>116.016245,36.426540</td>\n",
       "      <td>619.882</td>\n",
       "      <td>[]</td>\n",
       "      <td>政府机构及社会团体;政府机关;地市级政府及事业单位</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>B027B02MRL</td>\n",
       "      <td>东南</td>\n",
       "      <td>[]</td>\n",
       "      <td>老南环路东段路南</td>\n",
       "      <td>0.374354</td>\n",
       "      <td>聊城市物价局</td>\n",
       "      <td>116.015510,36.425481</td>\n",
       "      <td>683.592</td>\n",
       "      <td>[]</td>\n",
       "      <td>政府机构及社会团体;政府机关;地市级政府及事业单位</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>B027B02MRM</td>\n",
       "      <td>东南</td>\n",
       "      <td>[]</td>\n",
       "      <td>湖南东路6</td>\n",
       "      <td>0.346619</td>\n",
       "      <td>聊城市食品药品监督管理局</td>\n",
       "      <td>116.016393,36.425756</td>\n",
       "      <td>698.072</td>\n",
       "      <td>0635-8536109</td>\n",
       "      <td>政府机构及社会团体;政府机关;地市级政府及事业单位</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>B0FFI5RSVQ</td>\n",
       "      <td>东南</td>\n",
       "      <td>[]</td>\n",
       "      <td>柳园街道湖南东路1号大学高新科技楼303</td>\n",
       "      <td>0.168134</td>\n",
       "      <td>聊城大学东校区-博海教育</td>\n",
       "      <td>116.016440,36.428507</td>\n",
       "      <td>481.677</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;科教文化场所;科教文化场所</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>B0FFG6UF2W</td>\n",
       "      <td>东</td>\n",
       "      <td>[]</td>\n",
       "      <td>湖南路1号</td>\n",
       "      <td>0.250413</td>\n",
       "      <td>东昌府人民医院聊大院区</td>\n",
       "      <td>116.018410,36.428272</td>\n",
       "      <td>646.937</td>\n",
       "      <td>0635-8239120;0635-8239125</td>\n",
       "      <td>医疗保健服务;综合医院;综合医院</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>B027B02MRN</td>\n",
       "      <td>东南</td>\n",
       "      <td>[]</td>\n",
       "      <td>湖南东路6号</td>\n",
       "      <td>0.308711</td>\n",
       "      <td>聊城市药品检验所</td>\n",
       "      <td>116.016422,36.425400</td>\n",
       "      <td>732.471</td>\n",
       "      <td>[]</td>\n",
       "      <td>政府机构及社会团体;政府机关;地市级政府及事业单位</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>B0FFFOKJTB</td>\n",
       "      <td>东南</td>\n",
       "      <td>[]</td>\n",
       "      <td>柳园街道湖南东路6号</td>\n",
       "      <td>0.135876</td>\n",
       "      <td>聊城市食品药品稽查支队</td>\n",
       "      <td>116.016595,36.426012</td>\n",
       "      <td>685.531</td>\n",
       "      <td>[]</td>\n",
       "      <td>政府机构及社会团体;政府机关;地市级政府及事业单位</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>B0FFFOQNIH</td>\n",
       "      <td>东南</td>\n",
       "      <td>[]</td>\n",
       "      <td>湖南东路2号</td>\n",
       "      <td>0.135876</td>\n",
       "      <td>国家食品安全风险监测山东中心聊城分中心</td>\n",
       "      <td>116.017482,36.425803</td>\n",
       "      <td>753.49</td>\n",
       "      <td>[]</td>\n",
       "      <td>政府机构及社会团体;政府机关;区县级政府及事业单位</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "            id direction businessarea               address  poiweight  \\\n",
       "0   B0FFHFHJYD        西北           []                   湖南路       0.48   \n",
       "1   B0FFFVD2BJ        东北           []              聊城大学东校区内       0.48   \n",
       "2   B027B0OQ7O        东北           []         东湖路聊城大学东校区19号    0.02982   \n",
       "3   B0FFH39NEO        西南           []             柳园街道湖南路1号   0.154335   \n",
       "4   B0FFFO24HY        东南           []           聊城大学东校区3号楼北   0.185417   \n",
       "5   B0FFF899AQ         南           []              湖南路北150米  0.0451512   \n",
       "6   B0FFF7MS7L         南           []               聊城大学农学院     0.0451   \n",
       "7   B027B0OWWE        西南           []                 湖南路附近   0.129193   \n",
       "8   B0FFLK3X7S        西南           []        聊城大学东校区教学楼1号向西    0.15337   \n",
       "9   B027B0P6F6         东           []          湖南路1号聊城大学东校区   0.174476   \n",
       "10  B0FFF8RFNA        东南           []          湖南路一号聊城大学东校区  0.0451528   \n",
       "11  B0FFHK6DAT         北           []                   湖南路   0.456375   \n",
       "12  B0FFHK5WQV         北           []        湖南路聊城大学东校区日晷附近    0.31303   \n",
       "13  B0FFF8SBLQ         西           []       东湖路与秋实路交叉口东150米  0.0451528   \n",
       "14  B0FFKAW21Z        西南           []             柳园街道湖南路1号   0.157337   \n",
       "15  B0FFJIKB4M        西南           []            湖南路聊城大学东校区   0.154126   \n",
       "16  B0FFIZGHR8         北           []                  聊城大学   0.180281   \n",
       "17  B0FFF83HGH        东南           []       聊城大学东校区群星公寓11号楼  0.0451512   \n",
       "18  B0FFL2J92W        东北           []                 湖南路一号   0.153071   \n",
       "19  B027B0OQLV        西南           []        湖南路1号聊城大学3号实验楼   0.073506   \n",
       "20  B0FFH9FSKF        东北           []                    []   0.218304   \n",
       "21  B0FFJYB3PZ         西           []                 湖南路1号    0.15359   \n",
       "22  B027B02MRO        东南           []               湖南路南50米   0.153993   \n",
       "23  B027B02MRL        东南           []              老南环路东段路南   0.374354   \n",
       "24  B027B02MRM        东南           []                 湖南东路6   0.346619   \n",
       "25  B0FFI5RSVQ        东南           []  柳园街道湖南东路1号大学高新科技楼303   0.168134   \n",
       "26  B0FFG6UF2W         东           []                 湖南路1号   0.250413   \n",
       "27  B027B02MRN        东南           []                湖南东路6号   0.308711   \n",
       "28  B0FFFOKJTB        东南           []            柳园街道湖南东路6号   0.135876   \n",
       "29  B0FFFOQNIH        东南           []                湖南东路2号   0.135876   \n",
       "\n",
       "                   name              location distance  \\\n",
       "0             聊城大学(东校区)  116.011148,36.431372  89.0061   \n",
       "1       聊城大学(东校区)-逸夫图书馆  116.012272,36.431545   72.889   \n",
       "2        聊城大学东校区-建筑工程学院  116.013973,36.432928  284.623   \n",
       "3             太平洋岛国研究中心  116.009915,36.429988  212.548   \n",
       "4                  博苑餐厅  116.013423,36.429964  168.178   \n",
       "5           聊城大学东校3号楼教学  116.011213,36.428468  282.566   \n",
       "6         聊城大学东校区办公楼1号楼  116.011512,36.429784  134.474   \n",
       "7         聊城大学东校区教学楼2号楼  116.009680,36.428407  348.213   \n",
       "8         聊城大学(东校区)-数科院  116.010177,36.428395  325.083   \n",
       "9                  翰苑餐厅  116.015468,36.430802  312.412   \n",
       "10              群星公寓3号楼  116.013224,36.428984  243.649   \n",
       "11            聊城大学东校区日晷  116.012155,36.434058  347.853   \n",
       "12              聊城大学植物园  116.012078,36.434083   350.39   \n",
       "13          聊城大学东校4号楼教学  116.007769,36.430430  380.893   \n",
       "14  聊城大学东校区材料科学与工程学院实验楼  116.007822,36.428642  450.897   \n",
       "15        聊城大学东校区化学化工学院  116.007905,36.429111  417.099   \n",
       "16                  天象馆  116.012723,36.434646  418.209   \n",
       "17             群星公寓11号楼  116.015193,36.429001  358.877   \n",
       "18            历史文化与旅游学院  116.014654,36.434301  444.409   \n",
       "19          聊城大学-生命科学学院  116.006870,36.428070  557.123   \n",
       "20         聊城大学东校区6号教学楼  116.015017,36.434381  469.933   \n",
       "21          聊城大学生物制药研究院  116.006904,36.432052  470.884   \n",
       "22        聊城市药品不良反应监测中心  116.016245,36.426540  619.882   \n",
       "23               聊城市物价局  116.015510,36.425481  683.592   \n",
       "24         聊城市食品药品监督管理局  116.016393,36.425756  698.072   \n",
       "25         聊城大学东校区-博海教育  116.016440,36.428507  481.677   \n",
       "26          东昌府人民医院聊大院区  116.018410,36.428272  646.937   \n",
       "27             聊城市药品检验所  116.016422,36.425400  732.471   \n",
       "28          聊城市食品药品稽查支队  116.016595,36.426012  685.531   \n",
       "29  国家食品安全风险监测山东中心聊城分中心  116.017482,36.425803   753.49   \n",
       "\n",
       "                          tel                       type  \n",
       "0   0635-8239922;0635-8239115             科教文化服务;学校;高等院校  \n",
       "1                          []             科教文化服务;图书馆;图书馆  \n",
       "2                0635-8239583             科教文化服务;学校;高等院校  \n",
       "3                          []       科教文化服务;科教文化场所;科教文化场所  \n",
       "4                 13969527981               餐饮服务;中餐厅;中餐厅  \n",
       "5                          []           科教文化服务;培训机构;培训机构  \n",
       "6                          []            地名地址信息;门牌信息;楼栋号  \n",
       "7                          []               科教文化服务;学校;学校  \n",
       "8                          []       科教文化服务;科教文化场所;科教文化场所  \n",
       "9    13306350213;0635-5152599           餐饮服务;餐饮相关场所;餐饮相关  \n",
       "10                         []            地名地址信息;门牌信息;楼栋号  \n",
       "11                         []             风景名胜;风景名胜;风景名胜  \n",
       "12                         []              风景名胜;公园广场;植物园  \n",
       "13                         []           科教文化服务;培训机构;培训机构  \n",
       "14                         []               科教文化服务;学校;学校  \n",
       "15                         []             科教文化服务;学校;高等院校  \n",
       "16                         []       科教文化服务;科教文化场所;科教文化场所  \n",
       "17                         []            地名地址信息;门牌信息;楼栋号  \n",
       "18                         []             科教文化服务;学校;高等院校  \n",
       "19               0635-8239922       科教文化服务;科教文化场所;科教文化场所  \n",
       "20                         []             科教文化服务;学校;高等院校  \n",
       "21                         []       科教文化服务;科教文化场所;科教文化场所  \n",
       "22                         []  政府机构及社会团体;政府机关;地市级政府及事业单位  \n",
       "23                         []  政府机构及社会团体;政府机关;地市级政府及事业单位  \n",
       "24               0635-8536109  政府机构及社会团体;政府机关;地市级政府及事业单位  \n",
       "25                         []       科教文化服务;科教文化场所;科教文化场所  \n",
       "26  0635-8239120;0635-8239125           医疗保健服务;综合医院;综合医院  \n",
       "27                         []  政府机构及社会团体;政府机关;地市级政府及事业单位  \n",
       "28                         []  政府机构及社会团体;政府机关;地市级政府及事业单位  \n",
       "29                         []  政府机构及社会团体;政府机关;区县级政府及事业单位  "
      ]
     },
     "execution_count": 185,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "Inverse_geocoding(zhou_key,location_聊城大学)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 186,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 路径规划 准备\n",
    "# 2.URL\n",
    "# 2.1步行url:https://restapi.amap.com/v3/direction/walking?parameters\n",
    "# 2.2公交：https://restapi.amap.com/v3/direction/transit/integrated?parameters\n",
    "# 2.3驾车：https://restapi.amap.com/v3/direction/driving?parameters\n",
    "# 3 具体应用场景：帮助用户规划通勤方案。\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 187,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 数据准备(出发地、目的地)\n",
    "origin_聊城大学 = geocode(zhou_key,address_1,city_1)\n",
    "destination_北顺小学_1 = \"山东省聊城市东昌府区北顺小学\"\n",
    "destination_北顺小学 = geocode(zhou_key,destination_北顺小学_1,city_1)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 188,
   "metadata": {},
   "outputs": [],
   "source": [
    "\"\"\"获取步行路径函数\"\"\"\n",
    "\"\"\"origin为起始地的坐标，destination为目的地的坐标\"\"\"\n",
    "def walking(key,origin,destination,output='JSON',callback=None):\n",
    "    url = \"https://restapi.amap.com/v3/direction/walking?parameters\"\n",
    "    params = {\n",
    "        \"key\":key,\n",
    "        \"origin\":origin,\n",
    "        \"destination\":destination,\n",
    "        \"output\":output,\n",
    "        \"callback\":callback\n",
    "    }\n",
    "    response = requests.get(url=url,params=params)\n",
    "    result = pd.json_normalize(response.json()['route']['paths'][0]['steps'])\n",
    "    return result"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 189,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>instruction</th>\n",
       "      <th>orientation</th>\n",
       "      <th>road</th>\n",
       "      <th>distance</th>\n",
       "      <th>duration</th>\n",
       "      <th>polyline</th>\n",
       "      <th>action</th>\n",
       "      <th>assistant_action</th>\n",
       "      <th>walk_type</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>向西步行724米左转</td>\n",
       "      <td>西</td>\n",
       "      <td>[]</td>\n",
       "      <td>724</td>\n",
       "      <td>579</td>\n",
       "      <td>116.011306,36.430621;116.010256,36.430781;116....</td>\n",
       "      <td>左转</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>向西步行71米右转</td>\n",
       "      <td>西</td>\n",
       "      <td>[]</td>\n",
       "      <td>71</td>\n",
       "      <td>57</td>\n",
       "      <td>116.00434,36.432648;116.003563,36.43253</td>\n",
       "      <td>右转</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>向北步行191米左转</td>\n",
       "      <td>北</td>\n",
       "      <td>[]</td>\n",
       "      <td>191</td>\n",
       "      <td>153</td>\n",
       "      <td>116.003559,36.432526;116.003607,36.432674;116....</td>\n",
       "      <td>左转</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>向西步行675米右转</td>\n",
       "      <td>西</td>\n",
       "      <td>[]</td>\n",
       "      <td>675</td>\n",
       "      <td>540</td>\n",
       "      <td>116.003958,36.434223;116.00332,36.434314;116.0...</td>\n",
       "      <td>右转</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>向北步行213米右转</td>\n",
       "      <td>北</td>\n",
       "      <td>[]</td>\n",
       "      <td>213</td>\n",
       "      <td>170</td>\n",
       "      <td>115.996519,36.435074;115.996532,36.435334;115....</td>\n",
       "      <td>右转</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>向北步行419米右转</td>\n",
       "      <td>北</td>\n",
       "      <td>[]</td>\n",
       "      <td>419</td>\n",
       "      <td>335</td>\n",
       "      <td>115.996658,36.43701;115.997023,36.437027;115.9...</td>\n",
       "      <td>右转</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>向北步行74米左转</td>\n",
       "      <td>北</td>\n",
       "      <td>[]</td>\n",
       "      <td>74</td>\n",
       "      <td>59</td>\n",
       "      <td>115.996641,36.440234;115.996641,36.440551;115....</td>\n",
       "      <td>左转</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>沿文化路向西步行713米右转</td>\n",
       "      <td>西</td>\n",
       "      <td>文化路</td>\n",
       "      <td>713</td>\n",
       "      <td>570</td>\n",
       "      <td>115.996641,36.440903;115.995378,36.440898;115....</td>\n",
       "      <td>右转</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>沿柳园路向北步行394米向左前方行走</td>\n",
       "      <td>北</td>\n",
       "      <td>柳园路</td>\n",
       "      <td>394</td>\n",
       "      <td>315</td>\n",
       "      <td>115.988628,36.440803;115.988602,36.444366</td>\n",
       "      <td>向左前方行走</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>向西北步行232米右转</td>\n",
       "      <td>西北</td>\n",
       "      <td>[]</td>\n",
       "      <td>232</td>\n",
       "      <td>186</td>\n",
       "      <td>115.988598,36.444366;115.98839,36.444588;115.9...</td>\n",
       "      <td>右转</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>沿北河庄街向西北步行637米右转</td>\n",
       "      <td>西北</td>\n",
       "      <td>北河庄街</td>\n",
       "      <td>637</td>\n",
       "      <td>510</td>\n",
       "      <td>115.987743,36.446033;115.987656,36.446311;115....</td>\n",
       "      <td>右转</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>沿健康路向北步行960米到达目的地</td>\n",
       "      <td>北</td>\n",
       "      <td>健康路</td>\n",
       "      <td>960</td>\n",
       "      <td>768</td>\n",
       "      <td>115.982704,36.449544;115.982704,36.449757;115....</td>\n",
       "      <td>[]</td>\n",
       "      <td>到达目的地</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "           instruction orientation  road distance duration  \\\n",
       "0           向西步行724米左转           西    []      724      579   \n",
       "1            向西步行71米右转           西    []       71       57   \n",
       "2           向北步行191米左转           北    []      191      153   \n",
       "3           向西步行675米右转           西    []      675      540   \n",
       "4           向北步行213米右转           北    []      213      170   \n",
       "5           向北步行419米右转           北    []      419      335   \n",
       "6            向北步行74米左转           北    []       74       59   \n",
       "7       沿文化路向西步行713米右转           西   文化路      713      570   \n",
       "8   沿柳园路向北步行394米向左前方行走           北   柳园路      394      315   \n",
       "9          向西北步行232米右转          西北    []      232      186   \n",
       "10    沿北河庄街向西北步行637米右转          西北  北河庄街      637      510   \n",
       "11   沿健康路向北步行960米到达目的地           北   健康路      960      768   \n",
       "\n",
       "                                             polyline  action  \\\n",
       "0   116.011306,36.430621;116.010256,36.430781;116....      左转   \n",
       "1             116.00434,36.432648;116.003563,36.43253      右转   \n",
       "2   116.003559,36.432526;116.003607,36.432674;116....      左转   \n",
       "3   116.003958,36.434223;116.00332,36.434314;116.0...      右转   \n",
       "4   115.996519,36.435074;115.996532,36.435334;115....      右转   \n",
       "5   115.996658,36.43701;115.997023,36.437027;115.9...      右转   \n",
       "6   115.996641,36.440234;115.996641,36.440551;115....      左转   \n",
       "7   115.996641,36.440903;115.995378,36.440898;115....      右转   \n",
       "8           115.988628,36.440803;115.988602,36.444366  向左前方行走   \n",
       "9   115.988598,36.444366;115.98839,36.444588;115.9...      右转   \n",
       "10  115.987743,36.446033;115.987656,36.446311;115....      右转   \n",
       "11  115.982704,36.449544;115.982704,36.449757;115....      []   \n",
       "\n",
       "   assistant_action walk_type  \n",
       "0                []         0  \n",
       "1                []         0  \n",
       "2                []         0  \n",
       "3                []         0  \n",
       "4                []         0  \n",
       "5                []         0  \n",
       "6                []         0  \n",
       "7                []         0  \n",
       "8                []         0  \n",
       "9                []         0  \n",
       "10               []         0  \n",
       "11            到达目的地         0  "
      ]
     },
     "execution_count": 189,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "walking(zhou_key,origin_聊城大学,destination_北顺小学)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 190,
   "metadata": {},
   "outputs": [
    {
     "ename": "SyntaxError",
     "evalue": "invalid character in identifier (<ipython-input-190-6d572decc09b>, line 2)",
     "output_type": "error",
     "traceback": [
      "\u001b[1;36m  File \u001b[1;32m\"<ipython-input-190-6d572decc09b>\"\u001b[1;36m, line \u001b[1;32m2\u001b[0m\n\u001b[1;33m    参数：\u001b[0m\n\u001b[1;37m      ^\u001b[0m\n\u001b[1;31mSyntaxError\u001b[0m\u001b[1;31m:\u001b[0m invalid character in identifier\n"
     ]
    }
   ],
   "source": [
    "# 公交路径\n",
    "参数：\n",
    "必选参数：key、origin（出发地坐标）、destination（目的地坐标）、city（出发地城市）、cityd（目的地城市）"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 191,
   "metadata": {},
   "outputs": [],
   "source": [
    "\"\"\"获取公交路径的函数\"\"\"\n",
    "\"\"\"origin为起始地的坐标，destination为目的地的坐标,city为出发地城市，cityd为目的地城市\"\"\"\n",
    "def bus(key,origin,destination,city,cityd,extensions='base',strategy=3,nightflag=0,output='JSON',callback=None):\n",
    "    url = \"https://restapi.amap.com/v3/direction/transit/integrated?parameters\"\n",
    "    params = {\n",
    "        \"key\":key,\n",
    "        \"origin\":origin,\n",
    "        \"destination\":destination,\n",
    "        \"city\":city,\n",
    "        \"cityd\":cityd,\n",
    "        \"extensions\":extensions,\n",
    "        \"strategy\":strategy,\n",
    "        \"nightflag\":nightflag,\n",
    "        \"output\":output,\n",
    "        \"callback\":callback\n",
    "    }\n",
    "    response = requests.get(url,params=params)\n",
    "    results = response.json()\n",
    "    return results"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 192,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'status': '1',\n",
       " 'info': 'OK',\n",
       " 'infocode': '10000',\n",
       " 'count': '5',\n",
       " 'route': {'origin': '116.011980,36.430933',\n",
       "  'destination': '115.982030,36.458287',\n",
       "  'distance': '5960',\n",
       "  'taxi_cost': '12',\n",
       "  'transits': [{'cost': '2.0',\n",
       "    'duration': '2328',\n",
       "    'nightflag': '0',\n",
       "    'walking_distance': '611',\n",
       "    'distance': '6892',\n",
       "    'missed': '1',\n",
       "    'segments': [{'taxi': [],\n",
       "      'walking': {'origin': '116.011749,36.430546',\n",
       "       'destination': '116.010750,36.427227',\n",
       "       'distance': '439',\n",
       "       'duration': '376',\n",
       "       'steps': [{'instruction': '步行369米右转',\n",
       "         'road': [],\n",
       "         'distance': '369',\n",
       "         'duration': [],\n",
       "         'polyline': '116.011749,36.430546;116.011711,36.429382;116.011665,36.428089;116.011658,36.427944;116.011650,36.427704;116.011536,36.427219',\n",
       "         'action': '右转',\n",
       "         'assistant_action': []},\n",
       "        {'instruction': '沿湖南路步行70米到达聊城大学东校',\n",
       "         'road': '湖南路',\n",
       "         'distance': '70',\n",
       "         'duration': [],\n",
       "         'polyline': '116.011536,36.427212;116.010750,36.427227',\n",
       "         'action': [],\n",
       "         'assistant_action': '到达聊城大学东校'}]},\n",
       "      'bus': {'buslines': [{'departure_stop': {'name': '聊城大学东校',\n",
       "          'id': '371500010004001',\n",
       "          'location': '116.010750,36.427223'},\n",
       "         'arrival_stop': {'name': '市医院',\n",
       "          'id': '371500010004013',\n",
       "          'location': '115.980621,36.457310'},\n",
       "         'name': 'K2路(聊城市市场监督管理局--火车站)',\n",
       "         'id': '371500010004',\n",
       "         'type': '普通公交线路',\n",
       "         'distance': '6281',\n",
       "         'duration': '1805',\n",
       "         'polyline': '116.010750,36.427223;116.009804,36.427238;116.009705,36.427246;116.008446,36.427273;116.007126,36.427299;116.006744,36.427307;116.006737,36.427307;116.005722,36.427334;116.005562,36.427341;116.003395,36.427380;116.002037,36.427406;116.001961,36.427406;116.001350,36.427422;116.000549,36.427452;115.997597,36.427513;115.997040,36.427521;115.996361,36.427540;115.996803,36.428986;115.997200,36.430309;115.997314,36.430664;115.997635,36.431648;115.997734,36.432018;115.997902,36.432785;115.997894,36.432781;115.998055,36.433517;115.998138,36.433861;115.998672,36.435570;115.998703,36.435680;115.998703,36.436813;115.998688,36.438915;115.998688,36.439133;115.998657,36.440887;115.998657,36.441650;115.998657,36.441730;115.998657,36.441727;115.998657,36.442387;115.998657,36.443569;115.998657,36.443638;115.998634,36.444969;115.998619,36.445126;115.998604,36.446335;115.998604,36.446991;115.998604,36.446995;115.998604,36.446991;115.998596,36.447666;115.998589,36.447983;115.998589,36.449429;115.998589,36.449886;115.998589,36.450768;115.998589,36.450878;115.998566,36.451889;115.998558,36.452404;115.998558,36.452637;115.998550,36.453224;115.998550,36.453228;115.998550,36.453224;115.998543,36.454041;115.998550,36.454567;115.998543,36.455143;115.998543,36.455769;115.998543,36.456039;115.998528,36.457222;115.998428,36.457455;115.997147,36.457455;115.996826,36.457447;115.996445,36.457447;115.995583,36.457455;115.994812,36.457447;115.993927,36.457439;115.993919,36.457439;115.993652,36.457436;115.993530,36.457436;115.993126,36.457432;115.992393,36.457428;115.991859,36.457428;115.991081,36.457417;115.990990,36.457413;115.990189,36.457417;115.989609,36.457413;115.988678,36.457409;115.988419,36.457340;115.988327,36.457336;115.988136,36.457378;115.987457,36.457363;115.986679,36.457355;115.986534,36.457355;115.986221,36.457348;115.985374,36.457344;115.984512,36.457340;115.983940,36.457336;115.983398,36.457325;115.982620,36.457317;115.981445,36.457314;115.980621,36.457310',\n",
       "         'bustimetag': '2',\n",
       "         'start_time': [],\n",
       "         'end_time': [],\n",
       "         'via_num': '15',\n",
       "         'via_stops': [{'name': '聊城市体育馆',\n",
       "           'id': '371500010004033',\n",
       "           'location': '116.006744,36.427307'},\n",
       "          {'name': '花园路湖南路口',\n",
       "           'id': '371500010004027',\n",
       "           'location': '115.996803,36.428986'},\n",
       "          {'name': '聊大训练馆',\n",
       "           'id': '371500010004002',\n",
       "           'location': '115.997902,36.432785'},\n",
       "          {'name': '聊城大学东门',\n",
       "           'id': '371500010004042',\n",
       "           'location': '115.998688,36.438915'},\n",
       "          {'name': '中医院',\n",
       "           'id': '371500010004043',\n",
       "           'location': '115.998657,36.441730'},\n",
       "          {'name': '金瑞口腔',\n",
       "           'id': '371500010004044',\n",
       "           'location': '115.998619,36.445126'},\n",
       "          {'name': '国际和平医院',\n",
       "           'id': '371500010004045',\n",
       "           'location': '115.998604,36.446991'},\n",
       "          {'name': '花园路利民路口南站',\n",
       "           'id': '371500010004046',\n",
       "           'location': '115.998589,36.449429'},\n",
       "          {'name': '人民健康主题公园',\n",
       "           'id': '371500010004047',\n",
       "           'location': '115.998550,36.453224'},\n",
       "          {'name': '水利局家属院',\n",
       "           'id': '371500010004048',\n",
       "           'location': '115.998543,36.455769'},\n",
       "          {'name': '光岳宾馆',\n",
       "           'id': '371500010004028',\n",
       "           'location': '115.996826,36.457447'},\n",
       "          {'name': '市委',\n",
       "           'id': '371500010004009',\n",
       "           'location': '115.993927,36.457439'},\n",
       "          {'name': '百货大楼',\n",
       "           'id': '371500010004010',\n",
       "           'location': '115.991081,36.457417'},\n",
       "          {'name': '市政府',\n",
       "           'id': '371500010004011',\n",
       "           'location': '115.986679,36.457355'},\n",
       "          {'name': '聊城三中',\n",
       "           'id': '371500010004012',\n",
       "           'location': '115.983940,36.457336'}]}]},\n",
       "      'entrance': [],\n",
       "      'exit': [],\n",
       "      'railway': {'via_stops': [], 'alters': [], 'spaces': []}},\n",
       "     {'taxi': [],\n",
       "      'walking': {'origin': '115.980614,36.457390',\n",
       "       'destination': '115.981453,36.458286',\n",
       "       'distance': '172',\n",
       "       'duration': '147',\n",
       "       'steps': [{'instruction': '步行74米左转',\n",
       "         'road': [],\n",
       "         'distance': '74',\n",
       "         'duration': [],\n",
       "         'polyline': '115.980614,36.457390;115.981453,36.457401',\n",
       "         'action': '左转',\n",
       "         'assistant_action': []},\n",
       "        {'instruction': '步行98米',\n",
       "         'road': [],\n",
       "         'distance': '98',\n",
       "         'duration': [],\n",
       "         'polyline': '115.981453,36.457401;115.981453,36.457668;115.981453,36.458286',\n",
       "         'action': [],\n",
       "         'assistant_action': []}]},\n",
       "      'bus': {'buslines': []},\n",
       "      'entrance': [],\n",
       "      'exit': [],\n",
       "      'railway': {'via_stops': [], 'alters': [], 'spaces': []}}]},\n",
       "   {'cost': [],\n",
       "    'duration': '2886',\n",
       "    'nightflag': '0',\n",
       "    'walking_distance': '613',\n",
       "    'distance': '6343',\n",
       "    'missed': '1',\n",
       "    'segments': [{'taxi': [],\n",
       "      'walking': {'origin': '116.011749,36.430546',\n",
       "       'destination': '116.010750,36.427227',\n",
       "       'distance': '439',\n",
       "       'duration': '376',\n",
       "       'steps': [{'instruction': '步行369米右转',\n",
       "         'road': [],\n",
       "         'distance': '369',\n",
       "         'duration': [],\n",
       "         'polyline': '116.011749,36.430546;116.011711,36.429382;116.011665,36.428089;116.011658,36.427944;116.011650,36.427704;116.011536,36.427219',\n",
       "         'action': '右转',\n",
       "         'assistant_action': []},\n",
       "        {'instruction': '沿湖南路步行70米到达聊城大学东校',\n",
       "         'road': '湖南路',\n",
       "         'distance': '70',\n",
       "         'duration': [],\n",
       "         'polyline': '116.011536,36.427212;116.010750,36.427227',\n",
       "         'action': [],\n",
       "         'assistant_action': '到达聊城大学东校'}]},\n",
       "      'bus': {'buslines': [{'departure_stop': {'name': '聊城大学东校',\n",
       "          'id': '900000055139004',\n",
       "          'location': '116.010681,36.427223'},\n",
       "         'arrival_stop': {'name': '电影院',\n",
       "          'id': '900000055139014',\n",
       "          'location': '115.988693,36.452869'},\n",
       "         'name': 'S7路/KS7路(聊城市技师学院--万里国际汽配城)',\n",
       "         'id': '900000055139',\n",
       "         'type': '普通公交线路',\n",
       "         'distance': '4698',\n",
       "         'duration': '1412',\n",
       "         'polyline': '116.010681,36.427223;116.010674,36.427223;116.009804,36.427238;116.009705,36.427246;116.008446,36.427273;116.007126,36.427299;116.006393,36.427319;116.005722,36.427334;116.005562,36.427341;116.001999,36.427406;116.001602,36.427418;116.001350,36.427422;116.000549,36.427452;115.997597,36.427513;115.997040,36.427521;115.996361,36.427540;115.996277,36.427544;115.994904,36.427578;115.994766,36.427578;115.994019,36.427597;115.993652,36.427605;115.993279,36.427608;115.993195,36.427612;115.991180,36.427631;115.990532,36.427654;115.990364,36.427666;115.990150,36.427673;115.989861,36.427685;115.989059,36.427719;115.988869,36.427723;115.988869,36.427727;115.988869,36.427856;115.988861,36.428024;115.988853,36.428650;115.988846,36.428837;115.988838,36.429214;115.988838,36.430664;115.988838,36.431671;115.988823,36.432804;115.988823,36.433182;115.988823,36.433399;115.988808,36.435135;115.988808,36.437492;115.988800,36.437870;115.988800,36.438351;115.988792,36.438911;115.988785,36.439499;115.988762,36.440807;115.988762,36.441650;115.988762,36.442127;115.988754,36.443241;115.988754,36.444336;115.988754,36.444397;115.988754,36.445152;115.988747,36.445400;115.988739,36.445866;115.988739,36.445908;115.988739,36.445915;115.988739,36.445923;115.988739,36.445919;115.988739,36.445946;115.988731,36.446423;115.988724,36.447483;115.988708,36.447773;115.988724,36.448318;115.988724,36.448975;115.988724,36.448971;115.988724,36.449570;115.988739,36.450714;115.988739,36.450779;115.988724,36.451775;115.988708,36.452003;115.988701,36.452477;115.988701,36.452637;115.988693,36.452869',\n",
       "         'bustimetag': '2',\n",
       "         'start_time': [],\n",
       "         'end_time': [],\n",
       "         'via_num': '9',\n",
       "         'via_stops': [{'name': '聊城市体育馆',\n",
       "           'id': '900000055139005',\n",
       "           'location': '116.006393,36.427319'},\n",
       "          {'name': '聊城大学南门',\n",
       "           'id': '900000055139006',\n",
       "           'location': '115.994019,36.427597'},\n",
       "          {'name': '汽车南站',\n",
       "           'id': '900000055139007',\n",
       "           'location': '115.990532,36.427654'},\n",
       "          {'name': '后罗',\n",
       "           'id': '900000055139029',\n",
       "           'location': '115.988846,36.428837'},\n",
       "          {'name': '市检察院',\n",
       "           'id': '900000055139030',\n",
       "           'location': '115.988823,36.432804'},\n",
       "          {'name': '聊城一中东校',\n",
       "           'id': '900000055139031',\n",
       "           'location': '115.988800,36.437870'},\n",
       "          {'name': '东昌府区妇幼保健院分院',\n",
       "           'id': '900000055139032',\n",
       "           'location': '115.988762,36.442127'},\n",
       "          {'name': '闸口',\n",
       "           'id': '900000055139012',\n",
       "           'location': '115.988739,36.445908'},\n",
       "          {'name': '新华书店',\n",
       "           'id': '900000055139013',\n",
       "           'location': '115.988724,36.448975'}]},\n",
       "        {'departure_stop': {'name': '聊城大学东校',\n",
       "          'id': '371500010014002',\n",
       "          'location': '116.010719,36.427223'},\n",
       "         'arrival_stop': {'name': '电影院',\n",
       "          'id': '371500010014012',\n",
       "          'location': '115.988693,36.452866'},\n",
       "         'name': 'K7路(鲁西骨科医院--周公河路口北站)',\n",
       "         'id': '371500010014',\n",
       "         'type': '普通公交线路',\n",
       "         'distance': '4738',\n",
       "         'duration': '1462',\n",
       "         'polyline': '116.010719,36.427223;116.009804,36.427238;116.009705,36.427246;116.008446,36.427273;116.007126,36.427299;116.006584,36.427315;116.006592,36.427315;116.006584,36.427315;116.005722,36.427334;116.005562,36.427341;116.001999,36.427406;116.001602,36.427418;116.001350,36.427422;116.000549,36.427452;115.997597,36.427513;115.997040,36.427521;115.996361,36.427540;115.996277,36.427544;115.994904,36.427578;115.994766,36.427578;115.994087,36.427597;115.994080,36.427597;115.993652,36.427605;115.993279,36.427608;115.993195,36.427612;115.991180,36.427631;115.990562,36.427654;115.990364,36.427666;115.990150,36.427673;115.990021,36.427803;115.989120,36.427860;115.988869,36.427856;115.988853,36.428650;115.988846,36.428837;115.988838,36.429214;115.988838,36.430664;115.988838,36.431671;115.988823,36.432804;115.988806,36.437872;115.988800,36.437870;115.988800,36.438351;115.988785,36.439499;115.988762,36.440807;115.988762,36.441650;115.988762,36.442127;115.988754,36.443241;115.988754,36.444336;115.988754,36.444397;115.988754,36.445152;115.988747,36.445400;115.988739,36.445866;115.988739,36.445934;115.988739,36.445946;115.988731,36.446423;115.988724,36.447483;115.988708,36.447773;115.988724,36.448318;115.988724,36.448971;115.988724,36.448967;115.988724,36.449570;115.988739,36.450714;115.988739,36.450779;115.988724,36.451775;115.988708,36.452003;115.988701,36.452477;115.988701,36.452637;115.988693,36.452866',\n",
       "         'bustimetag': '2',\n",
       "         'start_time': [],\n",
       "         'end_time': [],\n",
       "         'via_num': '9',\n",
       "         'via_stops': [{'name': '聊城市体育馆',\n",
       "           'id': '371500010014031',\n",
       "           'location': '116.006584,36.427315'},\n",
       "          {'name': '聊城大学南门',\n",
       "           'id': '371500010014003',\n",
       "           'location': '115.994087,36.427597'},\n",
       "          {'name': '汽车南站',\n",
       "           'id': '371500010014026',\n",
       "           'location': '115.990562,36.427654'},\n",
       "          {'name': '后罗',\n",
       "           'id': '371500010014037',\n",
       "           'location': '115.988846,36.428837'},\n",
       "          {'name': '市检察院',\n",
       "           'id': '371500010014038',\n",
       "           'location': '115.988823,36.432804'},\n",
       "          {'name': '外国语学校',\n",
       "           'id': '371500010014039',\n",
       "           'location': '115.988806,36.437872'},\n",
       "          {'name': '东昌府区妇幼保健院分院',\n",
       "           'id': '371500010014040',\n",
       "           'location': '115.988762,36.442127'},\n",
       "          {'name': '闸口',\n",
       "           'id': '371500010014009',\n",
       "           'location': '115.988739,36.445934'},\n",
       "          {'name': '新华书店',\n",
       "           'id': '371500010014010',\n",
       "           'location': '115.988724,36.448971'}]}]},\n",
       "      'entrance': [],\n",
       "      'exit': [],\n",
       "      'railway': {'via_stops': [], 'alters': [], 'spaces': []}},\n",
       "     {'taxi': [],\n",
       "      'walking': {'origin': '115.988693,36.452869',\n",
       "       'destination': '115.988693,36.452885',\n",
       "       'distance': '2',\n",
       "       'duration': '1',\n",
       "       'steps': [{'instruction': '沿柳园南路步行2米到达电影院',\n",
       "         'road': '柳园南路',\n",
       "         'distance': '2',\n",
       "         'duration': [],\n",
       "         'polyline': '115.988693,36.452869;115.988693,36.452885',\n",
       "         'action': [],\n",
       "         'assistant_action': '到达电影院'}]},\n",
       "      'bus': {'buslines': [{'departure_stop': {'name': '电影院',\n",
       "          'id': '900000021816006',\n",
       "          'location': '115.988693,36.452888'},\n",
       "         'arrival_stop': {'name': '市医院',\n",
       "          'id': '900000021816010',\n",
       "          'location': '115.980629,36.457310'},\n",
       "         'name': 'K24路(区武装部--田庄)',\n",
       "         'id': '900000021816',\n",
       "         'type': '普通公交线路',\n",
       "         'distance': '1032',\n",
       "         'duration': '949',\n",
       "         'polyline': '115.988693,36.452888;115.988693,36.452950;115.988693,36.454086;115.988670,36.455875;115.988640,36.456245;115.988625,36.457294;115.988419,36.457340;115.988327,36.457336;115.988136,36.457378;115.987457,36.457363;115.986748,36.457355;115.986534,36.457355;115.986221,36.457348;115.985374,36.457344;115.984512,36.457340;115.983955,36.457336;115.983398,36.457325;115.982620,36.457317;115.981445,36.457314;115.980629,36.457310',\n",
       "         'bustimetag': '2',\n",
       "         'start_time': [],\n",
       "         'end_time': [],\n",
       "         'via_num': '2',\n",
       "         'via_stops': [{'name': '市政府',\n",
       "           'id': '900000021816008',\n",
       "           'location': '115.986748,36.457355'},\n",
       "          {'name': '齐鲁大酒店',\n",
       "           'id': '900000021816009',\n",
       "           'location': '115.983955,36.457336'}]},\n",
       "        {'departure_stop': {'name': '电影院',\n",
       "          'id': '900000098838019',\n",
       "          'location': '115.988693,36.452877'},\n",
       "         'arrival_stop': {'name': '市医院',\n",
       "          'id': '900000098838023',\n",
       "          'location': '115.980568,36.457310'},\n",
       "         'name': '5路/K5路(职业技术学院--站北花园北门)',\n",
       "         'id': '900000098838',\n",
       "         'type': '普通公交线路',\n",
       "         'distance': '1217',\n",
       "         'duration': '980',\n",
       "         'polyline': '115.988693,36.452877;115.988693,36.452881;115.988693,36.452877;115.988693,36.452950;115.988693,36.454086;115.988670,36.455353;115.988670,36.455875;115.988640,36.456245;115.988625,36.457294;115.988419,36.457340;115.988327,36.457336;115.988136,36.457378;115.987457,36.457363;115.986908,36.457359;115.986534,36.457355;115.986221,36.457348;115.985374,36.457344;115.984512,36.457340;115.984077,36.457336;115.984070,36.457336;115.983398,36.457325;115.982620,36.457317;115.981445,36.457314;115.980568,36.457310',\n",
       "         'bustimetag': '2',\n",
       "         'start_time': '0630',\n",
       "         'end_time': '2130',\n",
       "         'via_num': '3',\n",
       "         'via_stops': [{'name': '百大三联',\n",
       "           'id': '900000098838020',\n",
       "           'location': '115.988670,36.455353'},\n",
       "          {'name': '市政府',\n",
       "           'id': '900000098838021',\n",
       "           'location': '115.986908,36.457359'},\n",
       "          {'name': '齐鲁大酒店',\n",
       "           'id': '900000098838022',\n",
       "           'location': '115.984077,36.457336'}]},\n",
       "        {'departure_stop': {'name': '电影院',\n",
       "          'id': '371500010032008',\n",
       "          'location': '115.988693,36.452862'},\n",
       "         'arrival_stop': {'name': '市医院',\n",
       "          'id': '371500010032013',\n",
       "          'location': '115.980621,36.457310'},\n",
       "         'name': 'K16路(望湖小区南门--站北花园)',\n",
       "         'id': '371500010032',\n",
       "         'type': '普通公交线路',\n",
       "         'distance': '1211',\n",
       "         'duration': '949',\n",
       "         'polyline': '115.988693,36.452862;115.988693,36.452950;115.988693,36.454086;115.988670,36.455875;115.988640,36.456245;115.988625,36.457294;115.988419,36.457340;115.988327,36.457336;115.988136,36.457378;115.987457,36.457363;115.987007,36.457359;115.986534,36.457355;115.986221,36.457348;115.985374,36.457344;115.984512,36.457340;115.984169,36.457336;115.983398,36.457325;115.982620,36.457317;115.981445,36.457314;115.980621,36.457310',\n",
       "         'bustimetag': '2',\n",
       "         'start_time': [],\n",
       "         'end_time': [],\n",
       "         'via_num': '2',\n",
       "         'via_stops': [{'name': '市政府',\n",
       "           'id': '371500010032033',\n",
       "           'location': '115.987007,36.457359'},\n",
       "          {'name': '聊城三中',\n",
       "           'id': '371500010032012',\n",
       "           'location': '115.984169,36.457336'}]},\n",
       "        {'departure_stop': {'name': '电影院',\n",
       "          'id': '371500010009029',\n",
       "          'location': '115.988701,36.452778'},\n",
       "         'arrival_stop': {'name': '市医院',\n",
       "          'id': '371500010009032',\n",
       "          'location': '115.980827,36.457310'},\n",
       "         'name': 'K5路(花园路北首--香江服装区)',\n",
       "         'id': '371500010009',\n",
       "         'type': '普通公交线路',\n",
       "         'distance': '1184',\n",
       "         'duration': '948',\n",
       "         'polyline': '115.988701,36.452778;115.988693,36.452950;115.988693,36.454086;115.988670,36.455875;115.988640,36.456245;115.988625,36.457294;115.988419,36.457340;115.988327,36.457336;115.988136,36.457378;115.987457,36.457363;115.986694,36.457355;115.986534,36.457355;115.986221,36.457348;115.985374,36.457344;115.984512,36.457340;115.983940,36.457336;115.983398,36.457325;115.982620,36.457317;115.981445,36.457314;115.980827,36.457310',\n",
       "         'bustimetag': '2',\n",
       "         'start_time': [],\n",
       "         'end_time': [],\n",
       "         'via_num': '2',\n",
       "         'via_stops': [{'name': '市政府',\n",
       "           'id': '371500010009030',\n",
       "           'location': '115.986694,36.457355'},\n",
       "          {'name': '齐鲁大酒店',\n",
       "           'id': '371500010009031',\n",
       "           'location': '115.983940,36.457336'}]},\n",
       "        {'departure_stop': {'name': '电影院',\n",
       "          'id': '371500010053003',\n",
       "          'location': '115.988693,36.452850'},\n",
       "         'arrival_stop': {'name': '市医院',\n",
       "          'id': '371500010053007',\n",
       "          'location': '115.980667,36.457310'},\n",
       "         'name': 'K25路(区武装部--张炉集)',\n",
       "         'id': '371500010053',\n",
       "         'type': '普通公交线路',\n",
       "         'distance': '1095',\n",
       "         'duration': '950',\n",
       "         'polyline': '115.988693,36.452850;115.988693,36.452847;115.988693,36.452950;115.988693,36.454086;115.988670,36.455875;115.988640,36.456245;115.988625,36.457294;115.988419,36.457340;115.988327,36.457336;115.988136,36.457378;115.987457,36.457363;115.986862,36.457359;115.986534,36.457355;115.986221,36.457348;115.985374,36.457344;115.984512,36.457340;115.984077,36.457336;115.984070,36.457336;115.983398,36.457325;115.982620,36.457317;115.981445,36.457314;115.980667,36.457310',\n",
       "         'bustimetag': '2',\n",
       "         'start_time': [],\n",
       "         'end_time': [],\n",
       "         'via_num': '2',\n",
       "         'via_stops': [{'name': '市政府',\n",
       "           'id': '371500010053005',\n",
       "           'location': '115.986862,36.457359'},\n",
       "          {'name': '齐鲁大酒店',\n",
       "           'id': '371500010053006',\n",
       "           'location': '115.984077,36.457336'}]},\n",
       "        {'departure_stop': {'name': '电影院',\n",
       "          'id': '371500010071039',\n",
       "          'location': '115.988693,36.452869'},\n",
       "         'arrival_stop': {'name': '市医院',\n",
       "          'id': '371500010071042',\n",
       "          'location': '115.980652,36.457310'},\n",
       "         'name': 'K28路(朱庄--火车站)',\n",
       "         'id': '371500010071',\n",
       "         'type': '普通公交线路',\n",
       "         'distance': '1178',\n",
       "         'duration': '1130',\n",
       "         'polyline': '115.988693,36.452869;115.988693,36.452950;115.988693,36.454086;115.988670,36.455875;115.988640,36.456245;115.988625,36.457294;115.988419,36.457340;115.988327,36.457336;115.988136,36.457378;115.987457,36.457363;115.986809,36.457355;115.986534,36.457355;115.986221,36.457348;115.985374,36.457344;115.984512,36.457340;115.984070,36.457336;115.983398,36.457325;115.982620,36.457317;115.981445,36.457314;115.980652,36.457310',\n",
       "         'bustimetag': '2',\n",
       "         'start_time': '0720',\n",
       "         'end_time': '1830',\n",
       "         'via_num': '2',\n",
       "         'via_stops': [{'name': '市政府',\n",
       "           'id': '371500010071040',\n",
       "           'location': '115.986809,36.457355'},\n",
       "          {'name': '齐鲁大酒店',\n",
       "           'id': '371500010071041',\n",
       "           'location': '115.984070,36.457336'}]},\n",
       "        {'departure_stop': {'name': '电影院',\n",
       "          'id': '900000036194012',\n",
       "          'location': '115.988693,36.452869'},\n",
       "         'arrival_stop': {'name': '市医院',\n",
       "          'id': '900000036194016',\n",
       "          'location': '115.980576,36.457310'},\n",
       "         'name': '431路/K431路(山东天工岩上工程设备有限公司--凤凰台)',\n",
       "         'id': '900000036194',\n",
       "         'type': '普通公交线路',\n",
       "         'distance': '1156',\n",
       "         'duration': '950',\n",
       "         'polyline': '115.988693,36.452869;115.988693,36.452950;115.988693,36.454086;115.988670,36.455875;115.988640,36.456245;115.988625,36.457294;115.988419,36.457340;115.988327,36.457336;115.988136,36.457378;115.987457,36.457363;115.986870,36.457359;115.986877,36.457359;115.986870,36.457359;115.986534,36.457355;115.986221,36.457348;115.985374,36.457344;115.984512,36.457340;115.984001,36.457336;115.983398,36.457325;115.982620,36.457317;115.981445,36.457314;115.980576,36.457310',\n",
       "         'bustimetag': '2',\n",
       "         'start_time': '0630',\n",
       "         'end_time': '1740',\n",
       "         'via_num': '2',\n",
       "         'via_stops': [{'name': '市政府',\n",
       "           'id': '900000036194014',\n",
       "           'location': '115.986870,36.457359'},\n",
       "          {'name': '齐鲁大酒店',\n",
       "           'id': '900000036194015',\n",
       "           'location': '115.984001,36.457336'}]},\n",
       "        {'departure_stop': {'name': '电影院',\n",
       "          'id': '900000137304027',\n",
       "          'location': '115.988701,36.452785'},\n",
       "         'arrival_stop': {'name': '市医院',\n",
       "          'id': '900000137304030',\n",
       "          'location': '115.980789,36.457310'},\n",
       "         'name': '603路(位山湿地公园--聊城汽车西站)',\n",
       "         'id': '900000137304',\n",
       "         'type': '普通公交线路',\n",
       "         'distance': '1064',\n",
       "         'duration': '1430',\n",
       "         'polyline': '115.988701,36.452785;115.988701,36.452782;115.988693,36.452950;115.988693,36.454086;115.988670,36.455799;115.988647,36.456135;115.988640,36.456245;115.988625,36.457294;115.988419,36.457340;115.988327,36.457336;115.988136,36.457378;115.987549,36.457371;115.987335,36.457363;115.987076,36.457359;115.986534,36.457355;115.986221,36.457348;115.985374,36.457344;115.984512,36.457340;115.984215,36.457336;115.983398,36.457325;115.982620,36.457317;115.981445,36.457314;115.980789,36.457310',\n",
       "         'bustimetag': '2',\n",
       "         'start_time': '0700',\n",
       "         'end_time': '1800',\n",
       "         'via_num': '2',\n",
       "         'via_stops': [{'name': '市政府',\n",
       "           'id': '900000137304028',\n",
       "           'location': '115.987076,36.457359'},\n",
       "          {'name': '聊城三中',\n",
       "           'id': '900000137304029',\n",
       "           'location': '115.984215,36.457336'}]}]},\n",
       "      'entrance': [],\n",
       "      'exit': [],\n",
       "      'railway': {'via_stops': [], 'alters': [], 'spaces': []}},\n",
       "     {'taxi': [],\n",
       "      'walking': {'origin': '115.980614,36.457390',\n",
       "       'destination': '115.981453,36.458286',\n",
       "       'distance': '172',\n",
       "       'duration': '147',\n",
       "       'steps': [{'instruction': '步行74米左转',\n",
       "         'road': [],\n",
       "         'distance': '74',\n",
       "         'duration': [],\n",
       "         'polyline': '115.980614,36.457390;115.981453,36.457401',\n",
       "         'action': '左转',\n",
       "         'assistant_action': []},\n",
       "        {'instruction': '步行98米',\n",
       "         'road': [],\n",
       "         'distance': '98',\n",
       "         'duration': [],\n",
       "         'polyline': '115.981453,36.457401;115.981453,36.457668;115.981453,36.458286',\n",
       "         'action': [],\n",
       "         'assistant_action': []}]},\n",
       "      'bus': {'buslines': []},\n",
       "      'entrance': [],\n",
       "      'exit': [],\n",
       "      'railway': {'via_stops': [], 'alters': [], 'spaces': []}}]},\n",
       "   {'cost': [],\n",
       "    'duration': '3028',\n",
       "    'nightflag': '0',\n",
       "    'walking_distance': '613',\n",
       "    'distance': '6753',\n",
       "    'missed': '1',\n",
       "    'segments': [{'taxi': [],\n",
       "      'walking': {'origin': '116.011749,36.430546',\n",
       "       'destination': '116.010750,36.427227',\n",
       "       'distance': '439',\n",
       "       'duration': '376',\n",
       "       'steps': [{'instruction': '步行369米右转',\n",
       "         'road': [],\n",
       "         'distance': '369',\n",
       "         'duration': [],\n",
       "         'polyline': '116.011749,36.430546;116.011711,36.429382;116.011665,36.428089;116.011658,36.427944;116.011650,36.427704;116.011536,36.427219',\n",
       "         'action': '右转',\n",
       "         'assistant_action': []},\n",
       "        {'instruction': '沿湖南路步行70米到达聊城大学东校',\n",
       "         'road': '湖南路',\n",
       "         'distance': '70',\n",
       "         'duration': [],\n",
       "         'polyline': '116.011536,36.427212;116.010750,36.427227',\n",
       "         'action': [],\n",
       "         'assistant_action': '到达聊城大学东校'}]},\n",
       "      'bus': {'buslines': [{'departure_stop': {'name': '聊城大学东校',\n",
       "          'id': '371500010045003',\n",
       "          'location': '116.010818,36.427223'},\n",
       "         'arrival_stop': {'name': '花园路利民路口南站',\n",
       "          'id': '371500010045048',\n",
       "          'location': '115.998589,36.449409'},\n",
       "         'name': '22路/K22路(许营--新能源场站)',\n",
       "         'id': '371500010045',\n",
       "         'type': '普通公交线路',\n",
       "         'distance': '3745',\n",
       "         'duration': '1263',\n",
       "         'polyline': '116.010818,36.427223;116.009804,36.427238;116.009705,36.427246;116.008446,36.427273;116.007126,36.427299;116.006477,36.427319;116.005722,36.427334;116.005562,36.427341;116.001999,36.427406;116.001602,36.427418;116.001350,36.427422;116.000549,36.427452;115.997597,36.427513;115.997040,36.427521;115.996361,36.427540;115.996803,36.428989;115.997200,36.430309;115.997314,36.430664;115.997635,36.431648;115.997734,36.432018;115.997902,36.432808;115.997902,36.432804;115.998055,36.433517;115.998138,36.433861;115.998672,36.435570;115.998703,36.435680;115.998703,36.436813;115.998688,36.438931;115.998688,36.439133;115.998657,36.440887;115.998657,36.441650;115.998657,36.441772;115.998657,36.442387;115.998657,36.443569;115.998657,36.443638;115.998634,36.444969;115.998619,36.445122;115.998604,36.446335;115.998604,36.446949;115.998596,36.447666;115.998589,36.447983;115.998589,36.449409',\n",
       "         'bustimetag': '2',\n",
       "         'start_time': '0715',\n",
       "         'end_time': '1815',\n",
       "         'via_num': '7',\n",
       "         'via_stops': [{'name': '聊城市体育馆',\n",
       "           'id': '371500010045040',\n",
       "           'location': '116.006477,36.427319'},\n",
       "          {'name': '花园路湖南路口',\n",
       "           'id': '371500010045015',\n",
       "           'location': '115.996803,36.428989'},\n",
       "          {'name': '聊大训练馆',\n",
       "           'id': '371500010045041',\n",
       "           'location': '115.997902,36.432808'},\n",
       "          {'name': '聊城大学东门',\n",
       "           'id': '371500010045044',\n",
       "           'location': '115.998688,36.438931'},\n",
       "          {'name': '中医院',\n",
       "           'id': '371500010045045',\n",
       "           'location': '115.998657,36.441772'},\n",
       "          {'name': '金瑞口腔',\n",
       "           'id': '371500010045046',\n",
       "           'location': '115.998619,36.445122'},\n",
       "          {'name': '国际和平医院',\n",
       "           'id': '371500010045047',\n",
       "           'location': '115.998604,36.446949'}]}]},\n",
       "      'entrance': [],\n",
       "      'exit': [],\n",
       "      'railway': {'via_stops': [], 'alters': [], 'spaces': []}},\n",
       "     {'taxi': [],\n",
       "      'walking': {'origin': '115.998596,36.449406',\n",
       "       'destination': '115.998596,36.449429',\n",
       "       'distance': '2',\n",
       "       'duration': '1',\n",
       "       'steps': [{'instruction': '沿花园路步行2米到达花园路利民路口南站',\n",
       "         'road': '花园路',\n",
       "         'distance': '2',\n",
       "         'duration': [],\n",
       "         'polyline': '115.998596,36.449406;115.998596,36.449429',\n",
       "         'action': [],\n",
       "         'assistant_action': '到达花园路利民路口南站'}]},\n",
       "      'bus': {'buslines': [{'departure_stop': {'name': '花园路利民路口南站',\n",
       "          'id': '371500010073020',\n",
       "          'location': '115.998589,36.449429'},\n",
       "         'arrival_stop': {'name': '市医院',\n",
       "          'id': '371500010073011',\n",
       "          'location': '115.980682,36.457310'},\n",
       "         'name': 'K235路(鑫亚公司--站北花园)',\n",
       "         'id': '371500010073',\n",
       "         'type': '普通公交线路',\n",
       "         'distance': '2395',\n",
       "         'duration': '1240',\n",
       "         'polyline': '115.998589,36.449429;115.998589,36.449886;115.998589,36.450768;115.998589,36.450878;115.998566,36.451889;115.998558,36.452404;115.998558,36.452637;115.998550,36.453220;115.998550,36.453224;115.998543,36.454041;115.998550,36.454567;115.998543,36.455143;115.998543,36.455803;115.998543,36.456039;115.998528,36.457222;115.998428,36.457455;115.997147,36.457455;115.996857,36.457447;115.996445,36.457447;115.995583,36.457455;115.994812,36.457447;115.993927,36.457439;115.993919,36.457439;115.993652,36.457436;115.993530,36.457436;115.993126,36.457432;115.992393,36.457428;115.991859,36.457428;115.991112,36.457417;115.990990,36.457413;115.990189,36.457417;115.989609,36.457413;115.988678,36.457409;115.988419,36.457340;115.988327,36.457336;115.988136,36.457378;115.987457,36.457363;115.986763,36.457355;115.986534,36.457355;115.986221,36.457348;115.985374,36.457344;115.984512,36.457340;115.983963,36.457336;115.983398,36.457325;115.982620,36.457317;115.981445,36.457314;115.980682,36.457310',\n",
       "         'bustimetag': '2',\n",
       "         'start_time': '0646',\n",
       "         'end_time': '1758',\n",
       "         'via_num': '7',\n",
       "         'via_stops': [{'name': '人民健康主题公园',\n",
       "           'id': '371500010073018',\n",
       "           'location': '115.998550,36.453220'},\n",
       "          {'name': '水利局家属院',\n",
       "           'id': '371500010073017',\n",
       "           'location': '115.998543,36.455803'},\n",
       "          {'name': '光岳宾馆',\n",
       "           'id': '371500010073016',\n",
       "           'location': '115.996857,36.457447'},\n",
       "          {'name': '中信证券(山东)',\n",
       "           'id': '371500010073015',\n",
       "           'location': '115.993927,36.457439'},\n",
       "          {'name': '百货大楼',\n",
       "           'id': '371500010073014',\n",
       "           'location': '115.991112,36.457417'},\n",
       "          {'name': '市政府',\n",
       "           'id': '371500010073013',\n",
       "           'location': '115.986763,36.457355'},\n",
       "          {'name': '齐鲁大酒店',\n",
       "           'id': '371500010073012',\n",
       "           'location': '115.983963,36.457336'}]}]},\n",
       "      'entrance': [],\n",
       "      'exit': [],\n",
       "      'railway': {'via_stops': [], 'alters': [], 'spaces': []}},\n",
       "     {'taxi': [],\n",
       "      'walking': {'origin': '115.980614,36.457390',\n",
       "       'destination': '115.981453,36.458286',\n",
       "       'distance': '172',\n",
       "       'duration': '147',\n",
       "       'steps': [{'instruction': '步行74米左转',\n",
       "         'road': [],\n",
       "         'distance': '74',\n",
       "         'duration': [],\n",
       "         'polyline': '115.980614,36.457390;115.981453,36.457401',\n",
       "         'action': '左转',\n",
       "         'assistant_action': []},\n",
       "        {'instruction': '步行98米',\n",
       "         'road': [],\n",
       "         'distance': '98',\n",
       "         'duration': [],\n",
       "         'polyline': '115.981453,36.457401;115.981453,36.457668;115.981453,36.458286',\n",
       "         'action': [],\n",
       "         'assistant_action': []}]},\n",
       "      'bus': {'buslines': []},\n",
       "      'entrance': [],\n",
       "      'exit': [],\n",
       "      'railway': {'via_stops': [], 'alters': [], 'spaces': []}}]},\n",
       "   {'cost': [],\n",
       "    'duration': '3212',\n",
       "    'nightflag': '0',\n",
       "    'walking_distance': '612',\n",
       "    'distance': '6761',\n",
       "    'missed': '1',\n",
       "    'segments': [{'taxi': [],\n",
       "      'walking': {'origin': '116.011749,36.430546',\n",
       "       'destination': '116.010750,36.427227',\n",
       "       'distance': '439',\n",
       "       'duration': '376',\n",
       "       'steps': [{'instruction': '步行369米右转',\n",
       "         'road': [],\n",
       "         'distance': '369',\n",
       "         'duration': [],\n",
       "         'polyline': '116.011749,36.430546;116.011711,36.429382;116.011665,36.428089;116.011658,36.427944;116.011650,36.427704;116.011536,36.427219',\n",
       "         'action': '右转',\n",
       "         'assistant_action': []},\n",
       "        {'instruction': '沿湖南路步行70米到达聊城大学东校',\n",
       "         'road': '湖南路',\n",
       "         'distance': '70',\n",
       "         'duration': [],\n",
       "         'polyline': '116.011536,36.427212;116.010750,36.427227',\n",
       "         'action': [],\n",
       "         'assistant_action': '到达聊城大学东校'}]},\n",
       "      'bus': {'buslines': [{'departure_stop': {'name': '聊城大学东校',\n",
       "          'id': '371500010045003',\n",
       "          'location': '116.010818,36.427223'},\n",
       "         'arrival_stop': {'name': '利民路育新南街路口',\n",
       "          'id': '371500010045010',\n",
       "          'location': '115.994080,36.450821'},\n",
       "         'name': '22路/K22路(许营--新能源场站)',\n",
       "         'id': '371500010045',\n",
       "         'type': '普通公交线路',\n",
       "         'distance': '4285',\n",
       "         'duration': '1394',\n",
       "         'polyline': '116.010818,36.427223;116.009804,36.427238;116.009705,36.427246;116.008446,36.427273;116.007126,36.427299;116.006477,36.427319;116.005722,36.427334;116.005562,36.427341;116.001999,36.427406;116.001602,36.427418;116.001350,36.427422;116.000549,36.427452;115.997597,36.427513;115.997040,36.427521;115.996361,36.427540;115.996803,36.428989;115.997200,36.430309;115.997314,36.430664;115.997635,36.431648;115.997734,36.432018;115.997902,36.432808;115.997902,36.432804;115.998055,36.433517;115.998138,36.433861;115.998672,36.435570;115.998703,36.435680;115.998703,36.436813;115.998688,36.438931;115.998688,36.439133;115.998657,36.440887;115.998657,36.441650;115.998657,36.441772;115.998657,36.442387;115.998657,36.443569;115.998657,36.443638;115.998634,36.444969;115.998619,36.445122;115.998604,36.446335;115.998604,36.446949;115.998596,36.447666;115.998589,36.447983;115.998589,36.449409;115.998589,36.449406;115.998589,36.449886;115.998589,36.450768;115.998489,36.450878;115.997345,36.450863;115.997124,36.450859;115.996803,36.450855;115.996811,36.450855;115.996803,36.450855;115.995049,36.450832;115.994080,36.450821',\n",
       "         'bustimetag': '2',\n",
       "         'start_time': '0715',\n",
       "         'end_time': '1815',\n",
       "         'via_num': '9',\n",
       "         'via_stops': [{'name': '聊城市体育馆',\n",
       "           'id': '371500010045040',\n",
       "           'location': '116.006477,36.427319'},\n",
       "          {'name': '花园路湖南路口',\n",
       "           'id': '371500010045015',\n",
       "           'location': '115.996803,36.428989'},\n",
       "          {'name': '聊大训练馆',\n",
       "           'id': '371500010045041',\n",
       "           'location': '115.997902,36.432808'},\n",
       "          {'name': '聊城大学东门',\n",
       "           'id': '371500010045044',\n",
       "           'location': '115.998688,36.438931'},\n",
       "          {'name': '中医院',\n",
       "           'id': '371500010045045',\n",
       "           'location': '115.998657,36.441772'},\n",
       "          {'name': '金瑞口腔',\n",
       "           'id': '371500010045046',\n",
       "           'location': '115.998619,36.445122'},\n",
       "          {'name': '国际和平医院',\n",
       "           'id': '371500010045047',\n",
       "           'location': '115.998604,36.446949'},\n",
       "          {'name': '花园路利民路口南站',\n",
       "           'id': '371500010045048',\n",
       "           'location': '115.998589,36.449409'},\n",
       "          {'name': '利民大药店',\n",
       "           'id': '371500010045009',\n",
       "           'location': '115.996803,36.450855'}]}]},\n",
       "      'entrance': [],\n",
       "      'exit': [],\n",
       "      'railway': {'via_stops': [], 'alters': [], 'spaces': []}},\n",
       "     {'taxi': [],\n",
       "      'walking': {'origin': '115.994080,36.450817',\n",
       "       'destination': '115.994064,36.450817',\n",
       "       'distance': '1',\n",
       "       'duration': '0',\n",
       "       'steps': [{'instruction': '沿利民东路步行1米到达利民路育新南街路口',\n",
       "         'road': '利民东路',\n",
       "         'distance': '1',\n",
       "         'duration': [],\n",
       "         'polyline': '115.994080,36.450817;115.994064,36.450817',\n",
       "         'action': [],\n",
       "         'assistant_action': '到达利民路育新南街路口'}]},\n",
       "      'bus': {'buslines': [{'departure_stop': {'name': '利民路育新南街路口',\n",
       "          'id': '371500010071060',\n",
       "          'location': '115.994064,36.450817'},\n",
       "         'arrival_stop': {'name': '市医院',\n",
       "          'id': '371500010071042',\n",
       "          'location': '115.980652,36.457310'},\n",
       "         'name': 'K28路(朱庄--火车站)',\n",
       "         'id': '371500010071',\n",
       "         'type': '普通公交线路',\n",
       "         'distance': '1864',\n",
       "         'duration': '1294',\n",
       "         'polyline': '115.994064,36.450817;115.993744,36.450809;115.993652,36.450809;115.992195,36.450790;115.990967,36.450783;115.990959,36.450783;115.990021,36.450779;115.988739,36.450779;115.988724,36.451775;115.988708,36.452003;115.988701,36.452477;115.988701,36.452637;115.988693,36.452869;115.988693,36.452950;115.988693,36.454086;115.988670,36.455875;115.988640,36.456245;115.988625,36.457294;115.988419,36.457340;115.988327,36.457336;115.988136,36.457378;115.987457,36.457363;115.986809,36.457355;115.986534,36.457355;115.986221,36.457348;115.985374,36.457344;115.984512,36.457340;115.984070,36.457336;115.983398,36.457325;115.982620,36.457317;115.981445,36.457314;115.980652,36.457310',\n",
       "         'bustimetag': '2',\n",
       "         'start_time': '0720',\n",
       "         'end_time': '1830',\n",
       "         'via_num': '4',\n",
       "         'via_stops': [{'name': '中华保险公司',\n",
       "           'id': '371500010071061',\n",
       "           'location': '115.990967,36.450783'},\n",
       "          {'name': '电影院',\n",
       "           'id': '371500010071039',\n",
       "           'location': '115.988693,36.452869'},\n",
       "          {'name': '市政府',\n",
       "           'id': '371500010071040',\n",
       "           'location': '115.986809,36.457355'},\n",
       "          {'name': '齐鲁大酒店',\n",
       "           'id': '371500010071041',\n",
       "           'location': '115.984070,36.457336'}]},\n",
       "        {'departure_stop': {'name': '利民路育新南街路口',\n",
       "          'id': '371500010064013',\n",
       "          'location': '115.994125,36.450817'},\n",
       "         'arrival_stop': {'name': '市医院',\n",
       "          'id': '371500010064060',\n",
       "          'location': '115.980606,36.457310'},\n",
       "         'name': '134路/K134路(聊城市白癜风医院--职业技术学院)',\n",
       "         'id': '371500010064',\n",
       "         'type': '普通公交线路',\n",
       "         'distance': '1903',\n",
       "         'duration': '2037',\n",
       "         'polyline': '115.994125,36.450817;115.993744,36.450809;115.993652,36.450809;115.992195,36.450790;115.990936,36.450783;115.990486,36.450779;115.990150,36.450779;115.988739,36.450779;115.988548,36.450741;115.987419,36.450714;115.986801,36.450706;115.986168,36.450703;115.985901,36.450699;115.985558,36.450695;115.984650,36.450687;115.984436,36.450687;115.983322,36.450676;115.982697,36.450672;115.982697,36.451584;115.982697,36.451580;115.982697,36.451893;115.982681,36.452259;115.982681,36.452637;115.982674,36.453102;115.982674,36.453434;115.982674,36.453571;115.982674,36.453568;115.982674,36.453884;115.982674,36.454044;115.982666,36.454655;115.982658,36.454899;115.982651,36.455494;115.982628,36.456230;115.982628,36.456390;115.982620,36.457127;115.982620,36.457317;115.981445,36.457314;115.980606,36.457310',\n",
       "         'bustimetag': '2',\n",
       "         'start_time': [],\n",
       "         'end_time': [],\n",
       "         'via_num': '6',\n",
       "         'via_stops': [{'name': '柳园派出所',\n",
       "           'id': '371500010064012',\n",
       "           'location': '115.990936,36.450783'},\n",
       "          {'name': '利民路柳园路口',\n",
       "           'id': '371500010064010',\n",
       "           'location': '115.985558,36.450695'},\n",
       "          {'name': '铁塔商场',\n",
       "           'id': '371500010064008',\n",
       "           'location': '115.983322,36.450676'},\n",
       "          {'name': '临时站',\n",
       "           'id': '371500010064057',\n",
       "           'location': '115.982697,36.451584'},\n",
       "          {'name': '健康南路中站',\n",
       "           'id': '371500010064058',\n",
       "           'location': '115.982674,36.453571'},\n",
       "          {'name': '交运市场',\n",
       "           'id': '371500010064059',\n",
       "           'location': '115.982628,36.456230'}]}]},\n",
       "      'entrance': [],\n",
       "      'exit': [],\n",
       "      'railway': {'via_stops': [], 'alters': [], 'spaces': []}},\n",
       "     {'taxi': [],\n",
       "      'walking': {'origin': '115.980614,36.457390',\n",
       "       'destination': '115.981453,36.458286',\n",
       "       'distance': '172',\n",
       "       'duration': '147',\n",
       "       'steps': [{'instruction': '步行74米左转',\n",
       "         'road': [],\n",
       "         'distance': '74',\n",
       "         'duration': [],\n",
       "         'polyline': '115.980614,36.457390;115.981453,36.457401',\n",
       "         'action': '左转',\n",
       "         'assistant_action': []},\n",
       "        {'instruction': '步行98米',\n",
       "         'road': [],\n",
       "         'distance': '98',\n",
       "         'duration': [],\n",
       "         'polyline': '115.981453,36.457401;115.981453,36.457668;115.981453,36.458286',\n",
       "         'action': [],\n",
       "         'assistant_action': []}]},\n",
       "      'bus': {'buslines': []},\n",
       "      'entrance': [],\n",
       "      'exit': [],\n",
       "      'railway': {'via_stops': [], 'alters': [], 'spaces': []}}]},\n",
       "   {'cost': [],\n",
       "    'duration': '3274',\n",
       "    'nightflag': '0',\n",
       "    'walking_distance': '596',\n",
       "    'distance': '8093',\n",
       "    'missed': '1',\n",
       "    'segments': [{'taxi': [],\n",
       "      'walking': {'origin': '116.011749,36.430546',\n",
       "       'destination': '116.011040,36.427105',\n",
       "       'distance': '422',\n",
       "       'duration': '361',\n",
       "       'steps': [{'instruction': '步行382米右转',\n",
       "         'road': [],\n",
       "         'distance': '382',\n",
       "         'duration': [],\n",
       "         'polyline': '116.011749,36.430546;116.011711,36.429382;116.011665,36.428089;116.011658,36.427944;116.011650,36.427704;116.011536,36.427219;116.011505,36.427101',\n",
       "         'action': '右转',\n",
       "         'assistant_action': []},\n",
       "        {'instruction': '沿湖南路步行40米到达聊城大学东校',\n",
       "         'road': '湖南路',\n",
       "         'distance': '40',\n",
       "         'duration': [],\n",
       "         'polyline': '116.011497,36.427097;116.011040,36.427105',\n",
       "         'action': [],\n",
       "         'assistant_action': '到达聊城大学东校'}]},\n",
       "      'bus': {'buslines': [{'departure_stop': {'name': '聊城大学东校',\n",
       "          'id': '900000051424001',\n",
       "          'location': '116.011040,36.427105'},\n",
       "         'arrival_stop': {'name': '电影院',\n",
       "          'id': '900000051424017',\n",
       "          'location': '115.988693,36.452862'},\n",
       "         'name': 'K147路(松桂路西首--嘉明经济开发区管委会)',\n",
       "         'id': '900000051424',\n",
       "         'type': '普通公交线路',\n",
       "         'distance': '6465',\n",
       "         'duration': '1815',\n",
       "         'polyline': '116.011040,36.427105;116.011612,36.427090;116.012039,36.427078;116.013794,36.427036;116.015175,36.427006;116.015617,36.426991;116.015625,36.426991;116.016388,36.426975;116.017036,36.426964;116.017029,36.426964;116.017342,36.426952;116.017387,36.426952;116.018509,36.426937;116.019821,36.426903;116.019981,36.427013;116.020035,36.428078;116.020218,36.431187;116.020241,36.431683;116.020287,36.432457;116.020309,36.432457;116.020393,36.433971;116.020630,36.438286;116.020638,36.438393;116.020691,36.439308;116.020699,36.439404;116.020752,36.440189;116.020744,36.440186;116.020752,36.440243;116.020821,36.441650;116.020828,36.441685;116.020836,36.441944;116.020935,36.443367;116.021004,36.444710;116.021011,36.444946;116.021111,36.446568;116.021118,36.446762;116.021118,36.446758;116.021179,36.447720;116.021042,36.447849;116.019745,36.447830;116.018959,36.447815;116.018158,36.447796;116.017082,36.447792;116.016388,36.447777;116.015900,36.447773;116.015625,36.447773;116.015060,36.447769;116.013885,36.447750;116.013573,36.447762;116.013336,36.447788;116.012962,36.447891;116.012779,36.447968;116.012474,36.448132;116.012154,36.448334;116.010941,36.449120;116.010628,36.449318;116.010010,36.449718;116.010010,36.449722;116.010010,36.449718;116.008606,36.450615;116.008408,36.450741;116.008240,36.450817;116.008087,36.450863;116.007935,36.450901;116.007721,36.450924;116.007309,36.450932;116.006248,36.450924;116.006246,36.450924;116.005829,36.450916;116.005725,36.450911;116.005130,36.450911;116.003941,36.450907;116.003129,36.450903;116.000864,36.450881;116.000252,36.450877;116.000252,36.450874;115.999779,36.450874;115.998589,36.450878;115.998489,36.450878;115.997345,36.450863;115.997124,36.450859;115.996803,36.450855;115.996231,36.450855;115.995491,36.450844;115.995056,36.450832;115.994072,36.450817;115.993744,36.450809;115.993652,36.450809;115.992195,36.450790;115.990952,36.450783;115.990021,36.450779;115.988739,36.450779;115.988724,36.451775;115.988708,36.452003;115.988701,36.452477;115.988701,36.452637;115.988693,36.452862',\n",
       "         'bustimetag': '2',\n",
       "         'start_time': [],\n",
       "         'end_time': [],\n",
       "         'via_num': '16',\n",
       "         'via_stops': [{'name': '市物价局',\n",
       "           'id': '900000051424045',\n",
       "           'location': '116.017036,36.426964'},\n",
       "          {'name': '聊城市技师学院',\n",
       "           'id': '900000051424002',\n",
       "           'location': '116.020035,36.428078'},\n",
       "          {'name': '高级财经学校',\n",
       "           'id': '900000051424003',\n",
       "           'location': '116.020287,36.432457'},\n",
       "          {'name': '长江路口南站',\n",
       "           'id': '900000051424004',\n",
       "           'location': '116.020630,36.438286'},\n",
       "          {'name': '长江路口北站',\n",
       "           'id': '900000051424005',\n",
       "           'location': '116.020752,36.440189'},\n",
       "          {'name': '聊大花园',\n",
       "           'id': '900000051424006',\n",
       "           'location': '116.020828,36.441685'},\n",
       "          {'name': '黄河路口南站',\n",
       "           'id': '900000051424007',\n",
       "           'location': '116.021118,36.446762'},\n",
       "          {'name': '利民路光岳路口西站',\n",
       "           'id': '900000051424008',\n",
       "           'location': '116.018959,36.447815'},\n",
       "          {'name': '金柱大学城',\n",
       "           'id': '900000051424009',\n",
       "           'location': '116.015060,36.447769'},\n",
       "          {'name': '糖尿病医院',\n",
       "           'id': '900000051424010',\n",
       "           'location': '116.010010,36.449718'},\n",
       "          {'name': '二干渠西站',\n",
       "           'id': '900000051424011',\n",
       "           'location': '116.006248,36.450924'},\n",
       "          {'name': '翠苑小区',\n",
       "           'id': '900000051424012',\n",
       "           'location': '116.003941,36.450907'},\n",
       "          {'name': '利民路花园路口东站',\n",
       "           'id': '900000051424013',\n",
       "           'location': '116.000252,36.450877'},\n",
       "          {'name': '利民大药店',\n",
       "           'id': '900000051424014',\n",
       "           'location': '115.996803,36.450855'},\n",
       "          {'name': '利民路育新南街路口',\n",
       "           'id': '900000051424015',\n",
       "           'location': '115.994072,36.450817'},\n",
       "          {'name': '柳园派出所',\n",
       "           'id': '900000051424016',\n",
       "           'location': '115.990952,36.450783'}]}]},\n",
       "      'entrance': [],\n",
       "      'exit': [],\n",
       "      'railway': {'via_stops': [], 'alters': [], 'spaces': []}},\n",
       "     {'taxi': [],\n",
       "      'walking': {'origin': '115.988693,36.452866',\n",
       "       'destination': '115.988693,36.452885',\n",
       "       'distance': '2',\n",
       "       'duration': '1',\n",
       "       'steps': [{'instruction': '沿柳园南路步行2米到达电影院',\n",
       "         'road': '柳园南路',\n",
       "         'distance': '2',\n",
       "         'duration': [],\n",
       "         'polyline': '115.988693,36.452866;115.988693,36.452885',\n",
       "         'action': [],\n",
       "         'assistant_action': '到达电影院'}]},\n",
       "      'bus': {'buslines': [{'departure_stop': {'name': '电影院',\n",
       "          'id': '900000021816006',\n",
       "          'location': '115.988693,36.452888'},\n",
       "         'arrival_stop': {'name': '市医院',\n",
       "          'id': '900000021816010',\n",
       "          'location': '115.980629,36.457310'},\n",
       "         'name': 'K24路(区武装部--田庄)',\n",
       "         'id': '900000021816',\n",
       "         'type': '普通公交线路',\n",
       "         'distance': '1032',\n",
       "         'duration': '949',\n",
       "         'polyline': '115.988693,36.452888;115.988693,36.452950;115.988693,36.454086;115.988670,36.455875;115.988640,36.456245;115.988625,36.457294;115.988419,36.457340;115.988327,36.457336;115.988136,36.457378;115.987457,36.457363;115.986748,36.457355;115.986534,36.457355;115.986221,36.457348;115.985374,36.457344;115.984512,36.457340;115.983955,36.457336;115.983398,36.457325;115.982620,36.457317;115.981445,36.457314;115.980629,36.457310',\n",
       "         'bustimetag': '2',\n",
       "         'start_time': [],\n",
       "         'end_time': [],\n",
       "         'via_num': '2',\n",
       "         'via_stops': [{'name': '市政府',\n",
       "           'id': '900000021816008',\n",
       "           'location': '115.986748,36.457355'},\n",
       "          {'name': '齐鲁大酒店',\n",
       "           'id': '900000021816009',\n",
       "           'location': '115.983955,36.457336'}]},\n",
       "        {'departure_stop': {'name': '电影院',\n",
       "          'id': '900000098838019',\n",
       "          'location': '115.988693,36.452877'},\n",
       "         'arrival_stop': {'name': '市医院',\n",
       "          'id': '900000098838023',\n",
       "          'location': '115.980568,36.457310'},\n",
       "         'name': '5路/K5路(职业技术学院--站北花园北门)',\n",
       "         'id': '900000098838',\n",
       "         'type': '普通公交线路',\n",
       "         'distance': '1217',\n",
       "         'duration': '980',\n",
       "         'polyline': '115.988693,36.452877;115.988693,36.452881;115.988693,36.452877;115.988693,36.452950;115.988693,36.454086;115.988670,36.455353;115.988670,36.455875;115.988640,36.456245;115.988625,36.457294;115.988419,36.457340;115.988327,36.457336;115.988136,36.457378;115.987457,36.457363;115.986908,36.457359;115.986534,36.457355;115.986221,36.457348;115.985374,36.457344;115.984512,36.457340;115.984077,36.457336;115.984070,36.457336;115.983398,36.457325;115.982620,36.457317;115.981445,36.457314;115.980568,36.457310',\n",
       "         'bustimetag': '2',\n",
       "         'start_time': '0630',\n",
       "         'end_time': '2130',\n",
       "         'via_num': '3',\n",
       "         'via_stops': [{'name': '百大三联',\n",
       "           'id': '900000098838020',\n",
       "           'location': '115.988670,36.455353'},\n",
       "          {'name': '市政府',\n",
       "           'id': '900000098838021',\n",
       "           'location': '115.986908,36.457359'},\n",
       "          {'name': '齐鲁大酒店',\n",
       "           'id': '900000098838022',\n",
       "           'location': '115.984077,36.457336'}]},\n",
       "        {'departure_stop': {'name': '电影院',\n",
       "          'id': '371500010032008',\n",
       "          'location': '115.988693,36.452862'},\n",
       "         'arrival_stop': {'name': '市医院',\n",
       "          'id': '371500010032013',\n",
       "          'location': '115.980621,36.457310'},\n",
       "         'name': 'K16路(望湖小区南门--站北花园)',\n",
       "         'id': '371500010032',\n",
       "         'type': '普通公交线路',\n",
       "         'distance': '1211',\n",
       "         'duration': '949',\n",
       "         'polyline': '115.988693,36.452862;115.988693,36.452950;115.988693,36.454086;115.988670,36.455875;115.988640,36.456245;115.988625,36.457294;115.988419,36.457340;115.988327,36.457336;115.988136,36.457378;115.987457,36.457363;115.987007,36.457359;115.986534,36.457355;115.986221,36.457348;115.985374,36.457344;115.984512,36.457340;115.984169,36.457336;115.983398,36.457325;115.982620,36.457317;115.981445,36.457314;115.980621,36.457310',\n",
       "         'bustimetag': '2',\n",
       "         'start_time': [],\n",
       "         'end_time': [],\n",
       "         'via_num': '2',\n",
       "         'via_stops': [{'name': '市政府',\n",
       "           'id': '371500010032033',\n",
       "           'location': '115.987007,36.457359'},\n",
       "          {'name': '聊城三中',\n",
       "           'id': '371500010032012',\n",
       "           'location': '115.984169,36.457336'}]},\n",
       "        {'departure_stop': {'name': '电影院',\n",
       "          'id': '371500010009029',\n",
       "          'location': '115.988701,36.452778'},\n",
       "         'arrival_stop': {'name': '市医院',\n",
       "          'id': '371500010009032',\n",
       "          'location': '115.980827,36.457310'},\n",
       "         'name': 'K5路(花园路北首--香江服装区)',\n",
       "         'id': '371500010009',\n",
       "         'type': '普通公交线路',\n",
       "         'distance': '1184',\n",
       "         'duration': '948',\n",
       "         'polyline': '115.988701,36.452778;115.988693,36.452950;115.988693,36.454086;115.988670,36.455875;115.988640,36.456245;115.988625,36.457294;115.988419,36.457340;115.988327,36.457336;115.988136,36.457378;115.987457,36.457363;115.986694,36.457355;115.986534,36.457355;115.986221,36.457348;115.985374,36.457344;115.984512,36.457340;115.983940,36.457336;115.983398,36.457325;115.982620,36.457317;115.981445,36.457314;115.980827,36.457310',\n",
       "         'bustimetag': '2',\n",
       "         'start_time': [],\n",
       "         'end_time': [],\n",
       "         'via_num': '2',\n",
       "         'via_stops': [{'name': '市政府',\n",
       "           'id': '371500010009030',\n",
       "           'location': '115.986694,36.457355'},\n",
       "          {'name': '齐鲁大酒店',\n",
       "           'id': '371500010009031',\n",
       "           'location': '115.983940,36.457336'}]},\n",
       "        {'departure_stop': {'name': '电影院',\n",
       "          'id': '371500010053003',\n",
       "          'location': '115.988693,36.452850'},\n",
       "         'arrival_stop': {'name': '市医院',\n",
       "          'id': '371500010053007',\n",
       "          'location': '115.980667,36.457310'},\n",
       "         'name': 'K25路(区武装部--张炉集)',\n",
       "         'id': '371500010053',\n",
       "         'type': '普通公交线路',\n",
       "         'distance': '1095',\n",
       "         'duration': '950',\n",
       "         'polyline': '115.988693,36.452850;115.988693,36.452847;115.988693,36.452950;115.988693,36.454086;115.988670,36.455875;115.988640,36.456245;115.988625,36.457294;115.988419,36.457340;115.988327,36.457336;115.988136,36.457378;115.987457,36.457363;115.986862,36.457359;115.986534,36.457355;115.986221,36.457348;115.985374,36.457344;115.984512,36.457340;115.984077,36.457336;115.984070,36.457336;115.983398,36.457325;115.982620,36.457317;115.981445,36.457314;115.980667,36.457310',\n",
       "         'bustimetag': '2',\n",
       "         'start_time': [],\n",
       "         'end_time': [],\n",
       "         'via_num': '2',\n",
       "         'via_stops': [{'name': '市政府',\n",
       "           'id': '371500010053005',\n",
       "           'location': '115.986862,36.457359'},\n",
       "          {'name': '齐鲁大酒店',\n",
       "           'id': '371500010053006',\n",
       "           'location': '115.984077,36.457336'}]},\n",
       "        {'departure_stop': {'name': '电影院',\n",
       "          'id': '371500010071039',\n",
       "          'location': '115.988693,36.452869'},\n",
       "         'arrival_stop': {'name': '市医院',\n",
       "          'id': '371500010071042',\n",
       "          'location': '115.980652,36.457310'},\n",
       "         'name': 'K28路(朱庄--火车站)',\n",
       "         'id': '371500010071',\n",
       "         'type': '普通公交线路',\n",
       "         'distance': '1178',\n",
       "         'duration': '1130',\n",
       "         'polyline': '115.988693,36.452869;115.988693,36.452950;115.988693,36.454086;115.988670,36.455875;115.988640,36.456245;115.988625,36.457294;115.988419,36.457340;115.988327,36.457336;115.988136,36.457378;115.987457,36.457363;115.986809,36.457355;115.986534,36.457355;115.986221,36.457348;115.985374,36.457344;115.984512,36.457340;115.984070,36.457336;115.983398,36.457325;115.982620,36.457317;115.981445,36.457314;115.980652,36.457310',\n",
       "         'bustimetag': '2',\n",
       "         'start_time': '0720',\n",
       "         'end_time': '1830',\n",
       "         'via_num': '2',\n",
       "         'via_stops': [{'name': '市政府',\n",
       "           'id': '371500010071040',\n",
       "           'location': '115.986809,36.457355'},\n",
       "          {'name': '齐鲁大酒店',\n",
       "           'id': '371500010071041',\n",
       "           'location': '115.984070,36.457336'}]},\n",
       "        {'departure_stop': {'name': '电影院',\n",
       "          'id': '900000036194012',\n",
       "          'location': '115.988693,36.452869'},\n",
       "         'arrival_stop': {'name': '市医院',\n",
       "          'id': '900000036194016',\n",
       "          'location': '115.980576,36.457310'},\n",
       "         'name': '431路/K431路(山东天工岩上工程设备有限公司--凤凰台)',\n",
       "         'id': '900000036194',\n",
       "         'type': '普通公交线路',\n",
       "         'distance': '1156',\n",
       "         'duration': '950',\n",
       "         'polyline': '115.988693,36.452869;115.988693,36.452950;115.988693,36.454086;115.988670,36.455875;115.988640,36.456245;115.988625,36.457294;115.988419,36.457340;115.988327,36.457336;115.988136,36.457378;115.987457,36.457363;115.986870,36.457359;115.986877,36.457359;115.986870,36.457359;115.986534,36.457355;115.986221,36.457348;115.985374,36.457344;115.984512,36.457340;115.984001,36.457336;115.983398,36.457325;115.982620,36.457317;115.981445,36.457314;115.980576,36.457310',\n",
       "         'bustimetag': '2',\n",
       "         'start_time': '0630',\n",
       "         'end_time': '1740',\n",
       "         'via_num': '2',\n",
       "         'via_stops': [{'name': '市政府',\n",
       "           'id': '900000036194014',\n",
       "           'location': '115.986870,36.457359'},\n",
       "          {'name': '齐鲁大酒店',\n",
       "           'id': '900000036194015',\n",
       "           'location': '115.984001,36.457336'}]},\n",
       "        {'departure_stop': {'name': '电影院',\n",
       "          'id': '900000137304027',\n",
       "          'location': '115.988701,36.452785'},\n",
       "         'arrival_stop': {'name': '市医院',\n",
       "          'id': '900000137304030',\n",
       "          'location': '115.980789,36.457310'},\n",
       "         'name': '603路(位山湿地公园--聊城汽车西站)',\n",
       "         'id': '900000137304',\n",
       "         'type': '普通公交线路',\n",
       "         'distance': '1064',\n",
       "         'duration': '1430',\n",
       "         'polyline': '115.988701,36.452785;115.988701,36.452782;115.988693,36.452950;115.988693,36.454086;115.988670,36.455799;115.988647,36.456135;115.988640,36.456245;115.988625,36.457294;115.988419,36.457340;115.988327,36.457336;115.988136,36.457378;115.987549,36.457371;115.987335,36.457363;115.987076,36.457359;115.986534,36.457355;115.986221,36.457348;115.985374,36.457344;115.984512,36.457340;115.984215,36.457336;115.983398,36.457325;115.982620,36.457317;115.981445,36.457314;115.980789,36.457310',\n",
       "         'bustimetag': '2',\n",
       "         'start_time': '0700',\n",
       "         'end_time': '1800',\n",
       "         'via_num': '2',\n",
       "         'via_stops': [{'name': '市政府',\n",
       "           'id': '900000137304028',\n",
       "           'location': '115.987076,36.457359'},\n",
       "          {'name': '聊城三中',\n",
       "           'id': '900000137304029',\n",
       "           'location': '115.984215,36.457336'}]}]},\n",
       "      'entrance': [],\n",
       "      'exit': [],\n",
       "      'railway': {'via_stops': [], 'alters': [], 'spaces': []}},\n",
       "     {'taxi': [],\n",
       "      'walking': {'origin': '115.980614,36.457390',\n",
       "       'destination': '115.981453,36.458286',\n",
       "       'distance': '172',\n",
       "       'duration': '147',\n",
       "       'steps': [{'instruction': '步行74米左转',\n",
       "         'road': [],\n",
       "         'distance': '74',\n",
       "         'duration': [],\n",
       "         'polyline': '115.980614,36.457390;115.981453,36.457401',\n",
       "         'action': '左转',\n",
       "         'assistant_action': []},\n",
       "        {'instruction': '步行98米',\n",
       "         'road': [],\n",
       "         'distance': '98',\n",
       "         'duration': [],\n",
       "         'polyline': '115.981453,36.457401;115.981453,36.457668;115.981453,36.458286',\n",
       "         'action': [],\n",
       "         'assistant_action': []}]},\n",
       "      'bus': {'buslines': []},\n",
       "      'entrance': [],\n",
       "      'exit': [],\n",
       "      'railway': {'via_stops': [], 'alters': [], 'spaces': []}}]}]}}"
      ]
     },
     "execution_count": 192,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "bus(zhou_key,origin_聊城大学,destination_北顺小学,'山东','山东')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 193,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>instruction</th>\n",
       "      <th>road</th>\n",
       "      <th>distance</th>\n",
       "      <th>duration</th>\n",
       "      <th>polyline</th>\n",
       "      <th>action</th>\n",
       "      <th>assistant_action</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>步行369米右转</td>\n",
       "      <td>[]</td>\n",
       "      <td>369</td>\n",
       "      <td>[]</td>\n",
       "      <td>116.011749,36.430546;116.011711,36.429382;116....</td>\n",
       "      <td>右转</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>沿湖南路步行70米到达聊城大学东校</td>\n",
       "      <td>湖南路</td>\n",
       "      <td>70</td>\n",
       "      <td>[]</td>\n",
       "      <td>116.011536,36.427212;116.010750,36.427227</td>\n",
       "      <td>[]</td>\n",
       "      <td>到达聊城大学东校</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "         instruction road distance duration  \\\n",
       "0           步行369米右转   []      369       []   \n",
       "1  沿湖南路步行70米到达聊城大学东校  湖南路       70       []   \n",
       "\n",
       "                                            polyline action assistant_action  \n",
       "0  116.011749,36.430546;116.011711,36.429382;116....     右转               []  \n",
       "1          116.011536,36.427212;116.010750,36.427227     []         到达聊城大学东校  "
      ]
     },
     "execution_count": 193,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# 步行前往车站路径\n",
    "pd.json_normalize(bus(zhou_key,origin_聊城大学,destination_北顺小学,'山东','山东')['route']['transits'][0]['segments'][0]['walking']['steps'])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 194,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>name</th>\n",
       "      <th>id</th>\n",
       "      <th>type</th>\n",
       "      <th>distance</th>\n",
       "      <th>duration</th>\n",
       "      <th>polyline</th>\n",
       "      <th>bustimetag</th>\n",
       "      <th>start_time</th>\n",
       "      <th>end_time</th>\n",
       "      <th>via_num</th>\n",
       "      <th>via_stops</th>\n",
       "      <th>departure_stop.name</th>\n",
       "      <th>departure_stop.id</th>\n",
       "      <th>departure_stop.location</th>\n",
       "      <th>arrival_stop.name</th>\n",
       "      <th>arrival_stop.id</th>\n",
       "      <th>arrival_stop.location</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>K2路(聊城市市场监督管理局--火车站)</td>\n",
       "      <td>371500010004</td>\n",
       "      <td>普通公交线路</td>\n",
       "      <td>6281</td>\n",
       "      <td>1805</td>\n",
       "      <td>116.010750,36.427223;116.009804,36.427238;116....</td>\n",
       "      <td>2</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>15</td>\n",
       "      <td>[{'name': '聊城市体育馆', 'id': '371500010004033', '...</td>\n",
       "      <td>聊城大学东校</td>\n",
       "      <td>371500010004001</td>\n",
       "      <td>116.010750,36.427223</td>\n",
       "      <td>市医院</td>\n",
       "      <td>371500010004013</td>\n",
       "      <td>115.980621,36.457310</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "                   name            id    type distance duration  \\\n",
       "0  K2路(聊城市市场监督管理局--火车站)  371500010004  普通公交线路     6281     1805   \n",
       "\n",
       "                                            polyline bustimetag start_time  \\\n",
       "0  116.010750,36.427223;116.009804,36.427238;116....          2         []   \n",
       "\n",
       "  end_time via_num                                          via_stops  \\\n",
       "0       []      15  [{'name': '聊城市体育馆', 'id': '371500010004033', '...   \n",
       "\n",
       "  departure_stop.name departure_stop.id departure_stop.location  \\\n",
       "0              聊城大学东校   371500010004001    116.010750,36.427223   \n",
       "\n",
       "  arrival_stop.name  arrival_stop.id arrival_stop.location  \n",
       "0               市医院  371500010004013  115.980621,36.457310  "
      ]
     },
     "execution_count": 194,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "pd.json_normalize(bus(zhou_key,origin_聊城大学,destination_北顺小学,'山东','山东')['route']['transits'][0]['segments'][0]['bus']['buslines'][0])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 195,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>name</th>\n",
       "      <th>id</th>\n",
       "      <th>location</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>聊城市体育馆</td>\n",
       "      <td>371500010004033</td>\n",
       "      <td>116.006744,36.427307</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>花园路湖南路口</td>\n",
       "      <td>371500010004027</td>\n",
       "      <td>115.996803,36.428986</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>聊大训练馆</td>\n",
       "      <td>371500010004002</td>\n",
       "      <td>115.997902,36.432785</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>聊城大学东门</td>\n",
       "      <td>371500010004042</td>\n",
       "      <td>115.998688,36.438915</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>中医院</td>\n",
       "      <td>371500010004043</td>\n",
       "      <td>115.998657,36.441730</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>金瑞口腔</td>\n",
       "      <td>371500010004044</td>\n",
       "      <td>115.998619,36.445126</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>国际和平医院</td>\n",
       "      <td>371500010004045</td>\n",
       "      <td>115.998604,36.446991</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>花园路利民路口南站</td>\n",
       "      <td>371500010004046</td>\n",
       "      <td>115.998589,36.449429</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>人民健康主题公园</td>\n",
       "      <td>371500010004047</td>\n",
       "      <td>115.998550,36.453224</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>水利局家属院</td>\n",
       "      <td>371500010004048</td>\n",
       "      <td>115.998543,36.455769</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>光岳宾馆</td>\n",
       "      <td>371500010004028</td>\n",
       "      <td>115.996826,36.457447</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>市委</td>\n",
       "      <td>371500010004009</td>\n",
       "      <td>115.993927,36.457439</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>百货大楼</td>\n",
       "      <td>371500010004010</td>\n",
       "      <td>115.991081,36.457417</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>市政府</td>\n",
       "      <td>371500010004011</td>\n",
       "      <td>115.986679,36.457355</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>聊城三中</td>\n",
       "      <td>371500010004012</td>\n",
       "      <td>115.983940,36.457336</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "         name               id              location\n",
       "0      聊城市体育馆  371500010004033  116.006744,36.427307\n",
       "1     花园路湖南路口  371500010004027  115.996803,36.428986\n",
       "2       聊大训练馆  371500010004002  115.997902,36.432785\n",
       "3      聊城大学东门  371500010004042  115.998688,36.438915\n",
       "4         中医院  371500010004043  115.998657,36.441730\n",
       "5        金瑞口腔  371500010004044  115.998619,36.445126\n",
       "6      国际和平医院  371500010004045  115.998604,36.446991\n",
       "7   花园路利民路口南站  371500010004046  115.998589,36.449429\n",
       "8    人民健康主题公园  371500010004047  115.998550,36.453224\n",
       "9      水利局家属院  371500010004048  115.998543,36.455769\n",
       "10       光岳宾馆  371500010004028  115.996826,36.457447\n",
       "11         市委  371500010004009  115.993927,36.457439\n",
       "12       百货大楼  371500010004010  115.991081,36.457417\n",
       "13        市政府  371500010004011  115.986679,36.457355\n",
       "14       聊城三中  371500010004012  115.983940,36.457336"
      ]
     },
     "execution_count": 195,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "pd.json_normalize(bus(zhou_key,origin_聊城大学,destination_北顺小学,'山东','山东')['route']['transits'][0]['segments'][0]['bus']['buslines'][0]['via_stops'])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 196,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 驾车路径查询\n",
    "\"\"\"获取驾车路径函数\"\"\"\n",
    "\"\"\"origin为起始地的坐标，destination为目的地的坐标\"\"\"\n",
    "\"\"\"province为车牌省份汉字缩写，number为车牌处省份外的字母与数字\"\"\"\n",
    "def driving(key,origin,destination,province,number,cartype=0,strategy=10,originid=None,destinationid=None,origintype=None,destinationtype=None,waypoints=None,avoidpolygons=None,avoidroad=None,ferry=0,roadaggregation='false',nosteps=0,output='JSON',callback=None,extensions='base'):\n",
    "    # 自定义函数名称为driving，括号内为参数。\n",
    "    url = \"https://restapi.amap.com/v3/direction/driving?parameters\"\n",
    "    params = {\n",
    "        \"key\":key,\n",
    "        \"origin\":origin,\n",
    "        \"destination\":destination,\n",
    "        \"originid\":originid,\n",
    "        \"destinationid\":destinationid,\n",
    "        \"origintype\":origintype,\n",
    "        \"destinationtype\":destinationtype,\n",
    "        \"strategy\":strategy,\n",
    "        \"waypoints\":waypoints,\n",
    "        \"avoidpolygons\":avoidpolygons,\n",
    "        \"province\":province,\n",
    "        \"number\":number,\n",
    "        \"cartype\":cartype,\n",
    "        \"ferry\":ferry,\n",
    "        \"roadaggregation\":roadaggregation,\n",
    "        \"nosteps\":nosteps,\n",
    "        \"output\":output,\n",
    "        \"callback\":callback,\n",
    "        \"extensions\":extensions\n",
    "    }\n",
    "    response = requests.get(url,params=params)\n",
    "    # 使用normalize函数制作成表格，并提取处我们想要的信息，方便阅读。\n",
    "    results = pd.json_normalize(response.json()['route']['paths'][0]['steps'])\n",
    "    return results"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 197,
   "metadata": {},
   "outputs": [],
   "source": [
    "driving_origin = origin_聊城大学\n",
    "driving_destination = destination_北顺小学\n",
    "driving_province = \"鲁\"\n",
    "driving_number = \"577EH\""
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 198,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>instruction</th>\n",
       "      <th>orientation</th>\n",
       "      <th>distance</th>\n",
       "      <th>tolls</th>\n",
       "      <th>toll_distance</th>\n",
       "      <th>toll_road</th>\n",
       "      <th>duration</th>\n",
       "      <th>polyline</th>\n",
       "      <th>action</th>\n",
       "      <th>assistant_action</th>\n",
       "      <th>road</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>向西行驶14米左转</td>\n",
       "      <td>西</td>\n",
       "      <td>14</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>19</td>\n",
       "      <td>116.011901,36.43053;116.011745,36.430551</td>\n",
       "      <td>左转</td>\n",
       "      <td>[]</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>向南行驶369米右转</td>\n",
       "      <td>南</td>\n",
       "      <td>369</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>102</td>\n",
       "      <td>116.011745,36.430551;116.011706,36.429379;116....</td>\n",
       "      <td>右转</td>\n",
       "      <td>[]</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>沿湖南路途径湖南路大桥向西行驶1.9千米向右前方行驶</td>\n",
       "      <td>西</td>\n",
       "      <td>1911</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>231</td>\n",
       "      <td>116.011528,36.427214;116.0098,36.42724;116.009...</td>\n",
       "      <td>向右前方行驶</td>\n",
       "      <td>[]</td>\n",
       "      <td>湖南路</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>沿湖南路向西行驶121米右转</td>\n",
       "      <td>西</td>\n",
       "      <td>121</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>24</td>\n",
       "      <td>115.990143,36.427674;115.989987,36.427817;115....</td>\n",
       "      <td>右转</td>\n",
       "      <td>[]</td>\n",
       "      <td>湖南路</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>沿柳园路途径柳园南路向北行驶3.2千米左转进入左侧道路</td>\n",
       "      <td>北</td>\n",
       "      <td>3249</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>468</td>\n",
       "      <td>115.988867,36.427856;115.988845,36.428759;115....</td>\n",
       "      <td>左转</td>\n",
       "      <td>进入左侧道路</td>\n",
       "      <td>柳园路</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>沿东昌西路向西行驶518米向右前方行驶</td>\n",
       "      <td>西</td>\n",
       "      <td>518</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>45</td>\n",
       "      <td>115.98842,36.457339;115.988329,36.457339;115.9...</td>\n",
       "      <td>向右前方行驶</td>\n",
       "      <td>[]</td>\n",
       "      <td>东昌西路</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>向西行驶29米右转</td>\n",
       "      <td>西</td>\n",
       "      <td>29</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>11</td>\n",
       "      <td>115.982626,36.457409;115.9823,36.457409</td>\n",
       "      <td>右转</td>\n",
       "      <td>[]</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>向北行驶80米到达目的地</td>\n",
       "      <td>北</td>\n",
       "      <td>80</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>25</td>\n",
       "      <td>115.9823,36.457409;115.982292,36.457635;115.98...</td>\n",
       "      <td>[]</td>\n",
       "      <td>到达目的地</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "                   instruction orientation distance tolls toll_distance  \\\n",
       "0                    向西行驶14米左转           西       14     0             0   \n",
       "1                   向南行驶369米右转           南      369     0             0   \n",
       "2   沿湖南路途径湖南路大桥向西行驶1.9千米向右前方行驶           西     1911     0             0   \n",
       "3               沿湖南路向西行驶121米右转           西      121     0             0   \n",
       "4  沿柳园路途径柳园南路向北行驶3.2千米左转进入左侧道路           北     3249     0             0   \n",
       "5          沿东昌西路向西行驶518米向右前方行驶           西      518     0             0   \n",
       "6                    向西行驶29米右转           西       29     0             0   \n",
       "7                 向北行驶80米到达目的地           北       80     0             0   \n",
       "\n",
       "  toll_road duration                                           polyline  \\\n",
       "0        []       19           116.011901,36.43053;116.011745,36.430551   \n",
       "1        []      102  116.011745,36.430551;116.011706,36.429379;116....   \n",
       "2        []      231  116.011528,36.427214;116.0098,36.42724;116.009...   \n",
       "3        []       24  115.990143,36.427674;115.989987,36.427817;115....   \n",
       "4        []      468  115.988867,36.427856;115.988845,36.428759;115....   \n",
       "5        []       45  115.98842,36.457339;115.988329,36.457339;115.9...   \n",
       "6        []       11            115.982626,36.457409;115.9823,36.457409   \n",
       "7        []       25  115.9823,36.457409;115.982292,36.457635;115.98...   \n",
       "\n",
       "   action assistant_action  road  \n",
       "0      左转               []   NaN  \n",
       "1      右转               []   NaN  \n",
       "2  向右前方行驶               []   湖南路  \n",
       "3      右转               []   湖南路  \n",
       "4      左转           进入左侧道路   柳园路  \n",
       "5  向右前方行驶               []  东昌西路  \n",
       "6      右转               []   NaN  \n",
       "7      []            到达目的地   NaN  "
      ]
     },
     "execution_count": 198,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "driving(zhou_key,driving_origin,driving_destination,driving_province,driving_number)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 199,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 行政区域查询\n",
    " # 1.行政区域查询是一类简单的HTTP接口，根据用户输入的搜索条件可以帮助用户快速的查找特定的行政区域信。\n",
    "# 2.(url:https://restapi.amap.com/v3/config/district?parameters)\n",
    "# 3.参数：\n",
    "# 3.1必选参数：key\n",
    "# 具体应用场景：帮助用户查询行政区域"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 200,
   "metadata": {},
   "outputs": [],
   "source": [
    "\"\"\"查询行政区域函数\"\"\"\n",
    "\"\"\"keywords为省市名称\"\"\"\n",
    "def administration(key,keywords,subdistrict=1,page=1,offset=20,extensions=\"base\",output='JSON',callback=None):\n",
    "    url = \"https://restapi.amap.com/v3/config/district?parameters\"\n",
    "    params = {\n",
    "        \"key\":key,\n",
    "        \"keywords\":keywords,\n",
    "        \"subdistrict\":subdistrict,\n",
    "        \"page\":page,\n",
    "        \"offset\":offset,\n",
    "        \"extensions\":extensions,\n",
    "        \"output\":output,\n",
    "        \"callback\":callback  \n",
    "    }\n",
    "    response = requests.get(url,params=params)\n",
    "    results = pd.json_normalize(response.json()['districts'][0]['districts'])\n",
    "    return results"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 201,
   "metadata": {},
   "outputs": [],
   "source": [
    "administration_keywords = \"山东\""
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 202,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>citycode</th>\n",
       "      <th>adcode</th>\n",
       "      <th>name</th>\n",
       "      <th>center</th>\n",
       "      <th>level</th>\n",
       "      <th>districts</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>0635</td>\n",
       "      <td>371500</td>\n",
       "      <td>聊城市</td>\n",
       "      <td>115.980367,36.456013</td>\n",
       "      <td>city</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>0533</td>\n",
       "      <td>370300</td>\n",
       "      <td>淄博市</td>\n",
       "      <td>118.047648,36.814939</td>\n",
       "      <td>city</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>0539</td>\n",
       "      <td>371300</td>\n",
       "      <td>临沂市</td>\n",
       "      <td>118.326443,35.065282</td>\n",
       "      <td>city</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>0532</td>\n",
       "      <td>370200</td>\n",
       "      <td>青岛市</td>\n",
       "      <td>120.355173,36.082982</td>\n",
       "      <td>city</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>0631</td>\n",
       "      <td>371000</td>\n",
       "      <td>威海市</td>\n",
       "      <td>122.116394,37.509691</td>\n",
       "      <td>city</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>0535</td>\n",
       "      <td>370600</td>\n",
       "      <td>烟台市</td>\n",
       "      <td>121.391382,37.539297</td>\n",
       "      <td>city</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>0536</td>\n",
       "      <td>370700</td>\n",
       "      <td>潍坊市</td>\n",
       "      <td>119.107078,36.70925</td>\n",
       "      <td>city</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>0546</td>\n",
       "      <td>370500</td>\n",
       "      <td>东营市</td>\n",
       "      <td>118.66471,37.434564</td>\n",
       "      <td>city</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>0543</td>\n",
       "      <td>371600</td>\n",
       "      <td>滨州市</td>\n",
       "      <td>118.016974,37.383542</td>\n",
       "      <td>city</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>0633</td>\n",
       "      <td>371100</td>\n",
       "      <td>日照市</td>\n",
       "      <td>119.461208,35.428588</td>\n",
       "      <td>city</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>0632</td>\n",
       "      <td>370400</td>\n",
       "      <td>枣庄市</td>\n",
       "      <td>117.557964,34.856424</td>\n",
       "      <td>city</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>0534</td>\n",
       "      <td>371400</td>\n",
       "      <td>德州市</td>\n",
       "      <td>116.307428,37.453968</td>\n",
       "      <td>city</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>0531</td>\n",
       "      <td>370100</td>\n",
       "      <td>济南市</td>\n",
       "      <td>117.000923,36.675807</td>\n",
       "      <td>city</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>0530</td>\n",
       "      <td>371700</td>\n",
       "      <td>菏泽市</td>\n",
       "      <td>115.469381,35.246531</td>\n",
       "      <td>city</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>0538</td>\n",
       "      <td>370900</td>\n",
       "      <td>泰安市</td>\n",
       "      <td>117.129063,36.194968</td>\n",
       "      <td>city</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>0537</td>\n",
       "      <td>370800</td>\n",
       "      <td>济宁市</td>\n",
       "      <td>116.587245,35.415393</td>\n",
       "      <td>city</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "   citycode  adcode name                center level districts\n",
       "0      0635  371500  聊城市  115.980367,36.456013  city        []\n",
       "1      0533  370300  淄博市  118.047648,36.814939  city        []\n",
       "2      0539  371300  临沂市  118.326443,35.065282  city        []\n",
       "3      0532  370200  青岛市  120.355173,36.082982  city        []\n",
       "4      0631  371000  威海市  122.116394,37.509691  city        []\n",
       "5      0535  370600  烟台市  121.391382,37.539297  city        []\n",
       "6      0536  370700  潍坊市   119.107078,36.70925  city        []\n",
       "7      0546  370500  东营市   118.66471,37.434564  city        []\n",
       "8      0543  371600  滨州市  118.016974,37.383542  city        []\n",
       "9      0633  371100  日照市  119.461208,35.428588  city        []\n",
       "10     0632  370400  枣庄市  117.557964,34.856424  city        []\n",
       "11     0534  371400  德州市  116.307428,37.453968  city        []\n",
       "12     0531  370100  济南市  117.000923,36.675807  city        []\n",
       "13     0530  371700  菏泽市  115.469381,35.246531  city        []\n",
       "14     0538  370900  泰安市  117.129063,36.194968  city        []\n",
       "15     0537  370800  济宁市  116.587245,35.415393  city        []"
      ]
     },
     "execution_count": 202,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "administration(zhou_key,administration_keywords)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 203,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 搜索POI\n",
    "# 关键字搜索\n",
    "# 具体应用场景：用户可以通过指定区域和指定关键字，搜索到相关的地点的基本信息（图片、位置等）"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 204,
   "metadata": {},
   "outputs": [],
   "source": [
    "\"\"\"关键字搜索函数\"\"\"\n",
    "\"\"\"keywords为搜索内容的关键字，city为搜索内容所在城市\"\"\"\n",
    "def text(key,keywords,city,types=None,citylimit=\"true\",extensions=\"all\",children=0,offset=20,page=1,output='JSON',callback=None):\n",
    "    url = \"https://restapi.amap.com/v3/place/text?parameters\"\n",
    "    params = {\n",
    "        \"key\":key,\n",
    "        \"keywords\":keywords,\n",
    "        \"types\":types,\n",
    "        \"city\":city,\n",
    "        \"citylimit\":citylimit,\n",
    "        \"extensions\":extensions,\n",
    "        \"children\":children,\n",
    "        \"offset\":offset,\n",
    "        \"page\":page,\n",
    "        \"output\":output,\n",
    "        \"callback\":callback \n",
    "    }\n",
    "    response = requests.get(url,params=params)\n",
    "    result = response.json()\n",
    "    return result"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 205,
   "metadata": {},
   "outputs": [],
   "source": [
    "text_keywords = \"旅游景区\"\n",
    "text_city = \"山东\""
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 206,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'suggestion': {'keywords': [], 'cities': []},\n",
       " 'count': '883',\n",
       " 'infocode': '10000',\n",
       " 'pois': [{'parent': 'B0FFIOSQ2K',\n",
       "   'distance': [],\n",
       "   'pcode': '370000',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': [], 'rating': '4.6', 'ticket_ordering': '1'},\n",
       "   'recommend': '0',\n",
       "   'type': '风景名胜;风景名胜;国家级景点',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/ac49236785706df3543c184cbcbb213c'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/f178b3d29dc64e4e65536241b7308b79'},\n",
       "    {'title': '大明湖',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/4ee86120edbc417e51c98cb841b37c80'}],\n",
       "   'discount_num': '0',\n",
       "   'gridcode': '5517001102',\n",
       "   'typecode': '110202',\n",
       "   'shopinfo': '2',\n",
       "   'poiweight': [],\n",
       "   'citycode': '0531',\n",
       "   'adname': '历下区',\n",
       "   'children': [],\n",
       "   'alias': [],\n",
       "   'tel': '0531-86088910;0531-86088900;0531-86088901',\n",
       "   'id': 'B021307RUA',\n",
       "   'tag': [],\n",
       "   'event': [],\n",
       "   'entr_location': '117.016535,36.67205',\n",
       "   'indoor_map': '0',\n",
       "   'email': [],\n",
       "   'timestamp': '2020-11-16 17:17:58',\n",
       "   'website': [],\n",
       "   'address': '大明湖路271号',\n",
       "   'adcode': '370102',\n",
       "   'pname': '山东省',\n",
       "   'biz_type': 'tour',\n",
       "   'cityname': '济南市',\n",
       "   'postcode': [],\n",
       "   'match': '0',\n",
       "   'business_area': [],\n",
       "   'indoor_data': {'truefloor': [], 'cpid': [], 'floor': []},\n",
       "   'childtype': '301',\n",
       "   'exit_location': [],\n",
       "   'name': '大明湖景区',\n",
       "   'location': '117.023414,36.675166',\n",
       "   'shopid': [],\n",
       "   'navi_poiid': 'J50F040025_24114',\n",
       "   'groupbuy_num': '0'},\n",
       "  {'parent': 'B0FFIOSQ2K',\n",
       "   'distance': [],\n",
       "   'pcode': '370000',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '40.00', 'rating': '4.5', 'ticket_ordering': '1'},\n",
       "   'recommend': '0',\n",
       "   'type': '风景名胜;风景名胜;国家级景点',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/b18ac36a292c400042e7d10168567894'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/fa0493fd667563ce73caf780a152b58d'},\n",
       "    {'title': '趵突泉',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/6d68b284e2d169f339a7db4c5b841c02'}],\n",
       "   'discount_num': '0',\n",
       "   'gridcode': '5417709100',\n",
       "   'typecode': '110202',\n",
       "   'shopinfo': '2',\n",
       "   'poiweight': [],\n",
       "   'citycode': '0531',\n",
       "   'adname': '历下区',\n",
       "   'children': [],\n",
       "   'alias': '趵突泉公园',\n",
       "   'tel': '0531-86920439;0531-86920556',\n",
       "   'id': 'B021305SHC',\n",
       "   'tag': [],\n",
       "   'event': [],\n",
       "   'entr_location': '117.015633,36.663936',\n",
       "   'indoor_map': '0',\n",
       "   'email': [],\n",
       "   'timestamp': '2020-11-16 21:46:42',\n",
       "   'website': 'www.baotuquan.net',\n",
       "   'address': '趵突泉南路1号',\n",
       "   'adcode': '370102',\n",
       "   'pname': '山东省',\n",
       "   'biz_type': 'tour',\n",
       "   'cityname': '济南市',\n",
       "   'postcode': [],\n",
       "   'match': '0',\n",
       "   'business_area': '泺源',\n",
       "   'indoor_data': {'truefloor': [], 'cpid': [], 'floor': []},\n",
       "   'childtype': '301',\n",
       "   'exit_location': [],\n",
       "   'name': '趵突泉',\n",
       "   'location': '117.015873,36.661073',\n",
       "   'shopid': [],\n",
       "   'navi_poiid': 'J50F041025_5585',\n",
       "   'groupbuy_num': '0'},\n",
       "  {'parent': 'B0FFIOSQ2K',\n",
       "   'distance': [],\n",
       "   'pcode': '370000',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': [], 'rating': '4.5', 'ticket_ordering': '0'},\n",
       "   'recommend': '0',\n",
       "   'type': '风景名胜;公园广场;城市广场',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/3ffd885be6ee036ed69b36c4a3b632af'},\n",
       "    {'title': '泉城广场',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/d2b7babb536ab457d207d4f8be7421f7'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/a63d4856041b3f31cb1b3f0be4c569d6'}],\n",
       "   'discount_num': '0',\n",
       "   'gridcode': '5417709112',\n",
       "   'typecode': '110105',\n",
       "   'shopinfo': '2',\n",
       "   'poiweight': [],\n",
       "   'citycode': '0531',\n",
       "   'adname': '历下区',\n",
       "   'children': [],\n",
       "   'alias': [],\n",
       "   'tel': [],\n",
       "   'id': 'B021302AAB',\n",
       "   'tag': [],\n",
       "   'event': [],\n",
       "   'entr_location': '117.024936,36.660774',\n",
       "   'indoor_map': '0',\n",
       "   'email': [],\n",
       "   'timestamp': '2020-11-16 10:52:48',\n",
       "   'website': [],\n",
       "   'address': '泺源大街99号(趵突泉南路口)',\n",
       "   'adcode': '370102',\n",
       "   'pname': '山东省',\n",
       "   'biz_type': 'tour',\n",
       "   'cityname': '济南市',\n",
       "   'postcode': [],\n",
       "   'match': '0',\n",
       "   'business_area': '泺源',\n",
       "   'indoor_data': {'truefloor': [], 'cpid': [], 'floor': []},\n",
       "   'childtype': '301',\n",
       "   'exit_location': [],\n",
       "   'name': '泉城广场',\n",
       "   'location': '117.022086,36.661373',\n",
       "   'shopid': [],\n",
       "   'navi_poiid': 'J50F041025_18729',\n",
       "   'groupbuy_num': '0'},\n",
       "  {'parent': [],\n",
       "   'distance': [],\n",
       "   'pcode': '370000',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': [], 'rating': '4.1', 'ticket_ordering': '0'},\n",
       "   'recommend': '0',\n",
       "   'type': '风景名胜;风景名胜;风景名胜',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/0589d047d64cba02489d869604bd3403'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/00d9c76101861d43b07570d0c15f4d71'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/f2cfdb776911d6ad314ca3462d5f22a0'}],\n",
       "   'discount_num': '0',\n",
       "   'gridcode': '5416779912',\n",
       "   'typecode': '110200',\n",
       "   'shopinfo': '2',\n",
       "   'poiweight': [],\n",
       "   'citycode': '0531',\n",
       "   'adname': '市中区',\n",
       "   'children': [],\n",
       "   'alias': [],\n",
       "   'tel': [],\n",
       "   'id': 'B0213072OQ',\n",
       "   'tag': [],\n",
       "   'event': [],\n",
       "   'entr_location': '116.996299,36.661738',\n",
       "   'indoor_map': '0',\n",
       "   'email': [],\n",
       "   'timestamp': '2020-11-15 10:07:44',\n",
       "   'website': [],\n",
       "   'address': '经四路',\n",
       "   'adcode': '370103',\n",
       "   'pname': '山东省',\n",
       "   'biz_type': 'tour',\n",
       "   'cityname': '济南市',\n",
       "   'postcode': [],\n",
       "   'match': '0',\n",
       "   'business_area': [],\n",
       "   'indoor_data': {'truefloor': [], 'cpid': [], 'floor': []},\n",
       "   'childtype': [],\n",
       "   'exit_location': [],\n",
       "   'name': '大观园',\n",
       "   'location': '116.996815,36.661267',\n",
       "   'shopid': [],\n",
       "   'navi_poiid': 'J50F041024_79554',\n",
       "   'groupbuy_num': '0'},\n",
       "  {'parent': 'B0FFIOSQ2K',\n",
       "   'distance': [],\n",
       "   'pcode': '370000',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '5.00', 'rating': '4.5', 'ticket_ordering': '0'},\n",
       "   'recommend': '0',\n",
       "   'type': '风景名胜;公园广场;公园',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/0f18d6c6679bd21bc41a170d50b65bdc'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/CC17D2C4AD984DB3902FF862BE16B640'},\n",
       "    {'title': [],\n",
       "     'url': 'https://store.is.autonavi.com/showpic/DC36D4C7DC2A41B495C090FF94A6B2D7'}],\n",
       "   'discount_num': '0',\n",
       "   'gridcode': '5417709120',\n",
       "   'typecode': '110101',\n",
       "   'shopinfo': '2',\n",
       "   'poiweight': [],\n",
       "   'citycode': '0531',\n",
       "   'adname': '天桥区',\n",
       "   'children': [],\n",
       "   'alias': [],\n",
       "   'tel': '0531-86924835;0531-86921741',\n",
       "   'id': 'B021301972',\n",
       "   'tag': [],\n",
       "   'event': [],\n",
       "   'entr_location': '117.013994,36.664317',\n",
       "   'indoor_map': '0',\n",
       "   'email': [],\n",
       "   'timestamp': '2020-11-16 14:51:46',\n",
       "   'website': [],\n",
       "   'address': '筐市街18',\n",
       "   'adcode': '370105',\n",
       "   'pname': '山东省',\n",
       "   'biz_type': 'tour',\n",
       "   'cityname': '济南市',\n",
       "   'postcode': '250012',\n",
       "   'match': '0',\n",
       "   'business_area': [],\n",
       "   'indoor_data': {'truefloor': [], 'cpid': [], 'floor': []},\n",
       "   'childtype': '301',\n",
       "   'exit_location': [],\n",
       "   'name': '五龙潭公园',\n",
       "   'location': '117.014637,36.665992',\n",
       "   'shopid': [],\n",
       "   'navi_poiid': 'J50F041025_5386',\n",
       "   'groupbuy_num': '0'},\n",
       "  {'parent': [],\n",
       "   'distance': [],\n",
       "   'pcode': '370000',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '25.00', 'rating': '4.6', 'ticket_ordering': '1'},\n",
       "   'recommend': '0',\n",
       "   'type': '风景名胜;公园广场;动物园',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/fbc2ff53dec9754afa161957d92a0bf7'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/51434819a4abccbb9b896a6d3d22e5ce'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/aed4c7b59a183a8f1cae8ad44557187d'}],\n",
       "   'discount_num': '0',\n",
       "   'gridcode': '5516074802',\n",
       "   'typecode': '110102',\n",
       "   'shopinfo': '2',\n",
       "   'poiweight': [],\n",
       "   'citycode': '0531',\n",
       "   'adname': '天桥区',\n",
       "   'children': [],\n",
       "   'alias': [],\n",
       "   'tel': '0531-85952362;0531-85958133',\n",
       "   'id': 'B021303A8Q',\n",
       "   'tag': [],\n",
       "   'event': [],\n",
       "   'entr_location': '116.993818,36.701616',\n",
       "   'indoor_map': '0',\n",
       "   'email': [],\n",
       "   'timestamp': '2020-11-16 18:17:09',\n",
       "   'website': [],\n",
       "   'address': '济泺路87号',\n",
       "   'adcode': '370105',\n",
       "   'pname': '山东省',\n",
       "   'biz_type': 'tour',\n",
       "   'cityname': '济南市',\n",
       "   'postcode': [],\n",
       "   'match': '0',\n",
       "   'business_area': '无影山',\n",
       "   'indoor_data': {'truefloor': [], 'cpid': [], 'floor': []},\n",
       "   'childtype': [],\n",
       "   'exit_location': [],\n",
       "   'name': '济南动物园',\n",
       "   'location': '116.986577,36.701909',\n",
       "   'shopid': [],\n",
       "   'navi_poiid': 'J50F040024_839',\n",
       "   'groupbuy_num': '0'},\n",
       "  {'parent': 'B0FFF8IZC7',\n",
       "   'distance': [],\n",
       "   'pcode': '370000',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': [], 'rating': [], 'ticket_ordering': '0'},\n",
       "   'recommend': '0',\n",
       "   'type': '风景名胜;公园广场;城市广场',\n",
       "   'photos': [],\n",
       "   'discount_num': '0',\n",
       "   'gridcode': '5517000011',\n",
       "   'typecode': '110105',\n",
       "   'shopinfo': '2',\n",
       "   'poiweight': [],\n",
       "   'citycode': '0531',\n",
       "   'adname': '天桥区',\n",
       "   'children': [],\n",
       "   'alias': [],\n",
       "   'tel': [],\n",
       "   'id': 'B0FFH025O7',\n",
       "   'tag': [],\n",
       "   'event': [],\n",
       "   'entr_location': '117.005614,36.670279',\n",
       "   'indoor_map': '0',\n",
       "   'email': [],\n",
       "   'timestamp': '2020-11-10 10:20:37',\n",
       "   'website': [],\n",
       "   'address': '中刘家庄12号楼3单元101室',\n",
       "   'adcode': '370105',\n",
       "   'pname': '山东省',\n",
       "   'biz_type': 'tour',\n",
       "   'cityname': '济南市',\n",
       "   'postcode': [],\n",
       "   'match': '0',\n",
       "   'business_area': [],\n",
       "   'indoor_data': {'truefloor': [], 'cpid': [], 'floor': []},\n",
       "   'childtype': '202',\n",
       "   'exit_location': [],\n",
       "   'name': '聚贤广场',\n",
       "   'location': '117.005473,36.670141',\n",
       "   'shopid': [],\n",
       "   'navi_poiid': 'J50F040024_101625',\n",
       "   'groupbuy_num': '0'},\n",
       "  {'parent': [],\n",
       "   'distance': [],\n",
       "   'pcode': '370000',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': [], 'rating': '4.6', 'ticket_ordering': '0'},\n",
       "   'recommend': '0',\n",
       "   'type': '风景名胜;公园广场;公园',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/0743cd052dcd3d30d16dcd8b32e20a1a'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/326a16105792ef6c1bb4c99d5c0e1e98'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/8976620769c0ef785bc319a5cdfcd457'}],\n",
       "   'discount_num': '0',\n",
       "   'gridcode': '5416779910',\n",
       "   'typecode': '110101',\n",
       "   'shopinfo': '2',\n",
       "   'poiweight': [],\n",
       "   'citycode': '0531',\n",
       "   'adname': '市中区',\n",
       "   'children': [],\n",
       "   'alias': [],\n",
       "   'tel': '0531-87935185',\n",
       "   'id': 'B021301100',\n",
       "   'tag': [],\n",
       "   'event': [],\n",
       "   'entr_location': '116.988762,36.661962',\n",
       "   'indoor_map': '0',\n",
       "   'email': [],\n",
       "   'timestamp': '2020-11-13 20:57:52',\n",
       "   'website': [],\n",
       "   'address': '大观园街道经三路132号',\n",
       "   'adcode': '370103',\n",
       "   'pname': '山东省',\n",
       "   'biz_type': 'tour',\n",
       "   'cityname': '济南市',\n",
       "   'postcode': '250001',\n",
       "   'match': '0',\n",
       "   'business_area': [],\n",
       "   'indoor_data': {'truefloor': [], 'cpid': [], 'floor': []},\n",
       "   'childtype': [],\n",
       "   'exit_location': [],\n",
       "   'name': '中山公园',\n",
       "   'location': '116.989216,36.661282',\n",
       "   'shopid': [],\n",
       "   'navi_poiid': 'J50F041024_13694',\n",
       "   'groupbuy_num': '0'},\n",
       "  {'parent': [],\n",
       "   'distance': [],\n",
       "   'pcode': '370000',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '30.00', 'rating': '4.6', 'ticket_ordering': '1'},\n",
       "   'recommend': '0',\n",
       "   'type': '风景名胜;风景名胜;国家级景点',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/88343d8e7daa6e7dad7d6486780e1781'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/2ea1979e567885009b1cb6da9cee1348'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/c565632e9e7f2c0758d54495afd0677b'}],\n",
       "   'discount_num': '0',\n",
       "   'gridcode': '5417706222',\n",
       "   'typecode': '110202',\n",
       "   'shopinfo': '2',\n",
       "   'poiweight': [],\n",
       "   'citycode': '0531',\n",
       "   'adname': '历下区',\n",
       "   'children': [],\n",
       "   'alias': '千佛山景区|舜耕山',\n",
       "   'tel': '0531-82662340;12301',\n",
       "   'id': 'B021306TJ7',\n",
       "   'tag': [],\n",
       "   'event': [],\n",
       "   'entr_location': '117.035043,36.645764',\n",
       "   'indoor_map': '0',\n",
       "   'email': [],\n",
       "   'timestamp': '2020-11-16 19:02:05',\n",
       "   'website': [],\n",
       "   'address': '经十一路18号',\n",
       "   'adcode': '370102',\n",
       "   'pname': '山东省',\n",
       "   'biz_type': 'tour',\n",
       "   'cityname': '济南市',\n",
       "   'postcode': '250014',\n",
       "   'match': '0',\n",
       "   'business_area': '千佛山',\n",
       "   'indoor_data': {'truefloor': [], 'cpid': [], 'floor': []},\n",
       "   'childtype': [],\n",
       "   'exit_location': [],\n",
       "   'name': '千佛山风景名胜区',\n",
       "   'location': '117.036285,36.63911',\n",
       "   'shopid': [],\n",
       "   'navi_poiid': 'J50F041025_542',\n",
       "   'groupbuy_num': '0'},\n",
       "  {'parent': [],\n",
       "   'distance': [],\n",
       "   'pcode': '370000',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': [], 'rating': '4.5', 'ticket_ordering': '0'},\n",
       "   'recommend': '0',\n",
       "   'type': '风景名胜;公园广场;公园',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/f74946ca678065cceb01fb595e8ee732'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/4ddeeb57af9695583f6cc0a2ded1ef17'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/d3050c9bea94aaa03abe17f20dd656db'}],\n",
       "   'discount_num': '0',\n",
       "   'gridcode': '5417707111',\n",
       "   'typecode': '110101',\n",
       "   'shopinfo': '2',\n",
       "   'poiweight': [],\n",
       "   'citycode': '0531',\n",
       "   'adname': '历下区',\n",
       "   'children': [],\n",
       "   'alias': [],\n",
       "   'tel': '0531-81750016',\n",
       "   'id': 'B021305F1M',\n",
       "   'tag': [],\n",
       "   'event': [],\n",
       "   'entr_location': '117.024366,36.645734',\n",
       "   'indoor_map': '0',\n",
       "   'email': [],\n",
       "   'timestamp': '2020-11-16 18:58:56',\n",
       "   'website': 'qcgy.net',\n",
       "   'address': '经十路18762号',\n",
       "   'adcode': '370102',\n",
       "   'pname': '山东省',\n",
       "   'biz_type': 'tour',\n",
       "   'cityname': '济南市',\n",
       "   'postcode': '250002',\n",
       "   'match': '0',\n",
       "   'business_area': [],\n",
       "   'indoor_data': {'truefloor': [], 'cpid': [], 'floor': []},\n",
       "   'childtype': [],\n",
       "   'exit_location': [],\n",
       "   'name': '泉城公园',\n",
       "   'location': '117.019888,36.645115',\n",
       "   'shopid': [],\n",
       "   'navi_poiid': 'J50F041025_26072',\n",
       "   'groupbuy_num': '0'},\n",
       "  {'parent': 'B021301C10',\n",
       "   'distance': [],\n",
       "   'pcode': '370000',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': [], 'rating': '4.8', 'ticket_ordering': '0'},\n",
       "   'recommend': '0',\n",
       "   'type': '风景名胜;风景名胜;风景名胜',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/37e236a4b4dbd74e9ef6e3e5e69358b3'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/2f772ab7e30608e52a77fcd8cb9cd6a4'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/688894118716f9a0964b7fde6f2989c7'}],\n",
       "   'discount_num': '0',\n",
       "   'gridcode': '5517000102',\n",
       "   'typecode': '110200',\n",
       "   'shopinfo': '2',\n",
       "   'poiweight': [],\n",
       "   'citycode': '0531',\n",
       "   'adname': '历下区',\n",
       "   'children': [],\n",
       "   'alias': [],\n",
       "   'tel': '13275316333',\n",
       "   'id': 'B02130U9R2',\n",
       "   'tag': [],\n",
       "   'event': [],\n",
       "   'entr_location': '117.023749,36.667365',\n",
       "   'indoor_map': '0',\n",
       "   'email': [],\n",
       "   'timestamp': '2020-11-16 07:06:28',\n",
       "   'website': [],\n",
       "   'address': '泉城路',\n",
       "   'adcode': '370102',\n",
       "   'pname': '山东省',\n",
       "   'biz_type': 'tour',\n",
       "   'cityname': '济南市',\n",
       "   'postcode': [],\n",
       "   'match': '0',\n",
       "   'business_area': [],\n",
       "   'indoor_data': {'truefloor': [], 'cpid': [], 'floor': []},\n",
       "   'childtype': '301',\n",
       "   'exit_location': [],\n",
       "   'name': '王府池子',\n",
       "   'location': '117.023744,36.667416',\n",
       "   'shopid': [],\n",
       "   'navi_poiid': [],\n",
       "   'groupbuy_num': '0'},\n",
       "  {'parent': [],\n",
       "   'distance': [],\n",
       "   'pcode': '370000',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': [], 'rating': '3.5', 'ticket_ordering': '0'},\n",
       "   'recommend': '0',\n",
       "   'type': '风景名胜;公园广场;城市广场',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/a6af89c056c51d8c3570f5efd5504163'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/e6af9e3c2416816544c7c7b8fcb11431'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/cb5dc0290cac0e76132575564f5b49ff'}],\n",
       "   'discount_num': '0',\n",
       "   'gridcode': '5517002500',\n",
       "   'typecode': '110105',\n",
       "   'shopinfo': '2',\n",
       "   'poiweight': [],\n",
       "   'citycode': '0531',\n",
       "   'adname': '历城区',\n",
       "   'children': [],\n",
       "   'alias': [],\n",
       "   'tel': [],\n",
       "   'id': 'B021300C2E',\n",
       "   'tag': [],\n",
       "   'event': [],\n",
       "   'entr_location': '117.066598,36.684629',\n",
       "   'indoor_map': '0',\n",
       "   'email': [],\n",
       "   'timestamp': '2020-11-10 16:28:08',\n",
       "   'website': [],\n",
       "   'address': '花园路120号',\n",
       "   'adcode': '370112',\n",
       "   'pname': '山东省',\n",
       "   'biz_type': 'tour',\n",
       "   'cityname': '济南市',\n",
       "   'postcode': [],\n",
       "   'match': '0',\n",
       "   'business_area': '洪家楼',\n",
       "   'indoor_data': {'truefloor': [], 'cpid': [], 'floor': []},\n",
       "   'childtype': [],\n",
       "   'exit_location': [],\n",
       "   'name': '洪楼广场',\n",
       "   'location': '117.066999,36.685102',\n",
       "   'shopid': [],\n",
       "   'navi_poiid': 'J50F040025_20257',\n",
       "   'groupbuy_num': '0'},\n",
       "  {'parent': [],\n",
       "   'distance': [],\n",
       "   'pcode': '370000',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': '2.00', 'rating': '4.5', 'ticket_ordering': '0'},\n",
       "   'recommend': '0',\n",
       "   'type': '风景名胜;风景名胜;风景名胜',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/21e347567f648ae06103b54498b4705f'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/1a9cd759c1f781cd543f1c509ecdb5bc'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/a09ca8291ecb0ac3c5d75432f6e6805c'}],\n",
       "   'discount_num': '0',\n",
       "   'gridcode': '5417706021',\n",
       "   'typecode': '110200',\n",
       "   'shopinfo': '2',\n",
       "   'poiweight': [],\n",
       "   'citycode': '0531',\n",
       "   'adname': '市中区',\n",
       "   'children': [],\n",
       "   'alias': [],\n",
       "   'tel': '0531-82062397',\n",
       "   'id': 'B02130167D',\n",
       "   'tag': [],\n",
       "   'event': [],\n",
       "   'entr_location': '116.997196,36.639803',\n",
       "   'indoor_map': '0',\n",
       "   'email': [],\n",
       "   'timestamp': '2020-11-16 07:02:27',\n",
       "   'website': [],\n",
       "   'address': '英雄山路18号',\n",
       "   'adcode': '370103',\n",
       "   'pname': '山东省',\n",
       "   'biz_type': 'tour',\n",
       "   'cityname': '济南市',\n",
       "   'postcode': [],\n",
       "   'match': '0',\n",
       "   'business_area': [],\n",
       "   'indoor_data': {'truefloor': [], 'cpid': [], 'floor': []},\n",
       "   'childtype': [],\n",
       "   'exit_location': [],\n",
       "   'name': '英雄山风景区',\n",
       "   'location': '117.004602,36.638706',\n",
       "   'shopid': [],\n",
       "   'navi_poiid': 'J50F041024_26914',\n",
       "   'groupbuy_num': '0'},\n",
       "  {'parent': [],\n",
       "   'distance': [],\n",
       "   'pcode': '370000',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': [], 'rating': '4.9', 'ticket_ordering': '0'},\n",
       "   'recommend': '0',\n",
       "   'type': '风景名胜;公园广场;公园',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/304bea83e619e93ff23bafc75b36c9f2'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/f2f93e4eacffb9cd0d024b9b72a33625'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/275b6371e8b7e9f44d5e4913e9608e68'}],\n",
       "   'discount_num': '0',\n",
       "   'gridcode': '5516070500',\n",
       "   'typecode': '110101',\n",
       "   'shopinfo': '2',\n",
       "   'poiweight': [],\n",
       "   'citycode': '0531',\n",
       "   'adname': '槐荫区',\n",
       "   'children': [],\n",
       "   'alias': '森林公园',\n",
       "   'tel': '0531-66579600',\n",
       "   'id': 'B0213013E0',\n",
       "   'tag': [],\n",
       "   'event': [],\n",
       "   'entr_location': '116.942267,36.662985',\n",
       "   'indoor_map': '0',\n",
       "   'email': [],\n",
       "   'timestamp': '2020-11-16 19:00:05',\n",
       "   'website': [],\n",
       "   'address': '张庄路321号(近兴济河)',\n",
       "   'adcode': '370104',\n",
       "   'pname': '山东省',\n",
       "   'biz_type': 'tour',\n",
       "   'cityname': '济南市',\n",
       "   'postcode': [],\n",
       "   'match': '0',\n",
       "   'business_area': [],\n",
       "   'indoor_data': {'truefloor': [], 'cpid': [], 'floor': []},\n",
       "   'childtype': [],\n",
       "   'exit_location': [],\n",
       "   'name': '济南森林公园',\n",
       "   'location': '116.939987,36.667782',\n",
       "   'shopid': [],\n",
       "   'navi_poiid': 'J50F040024_127196',\n",
       "   'groupbuy_num': '0'},\n",
       "  {'parent': [],\n",
       "   'distance': [],\n",
       "   'pcode': '370000',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': [], 'rating': '4.5', 'ticket_ordering': '0'},\n",
       "   'recommend': '0',\n",
       "   'type': '风景名胜;风景名胜;纪念馆',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/de2fade1d2e07cc342f8435cb737e7d8'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/2a801bb3f915533fc4311050ec770043'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/b317810c1903fe11396e9603a855872d'}],\n",
       "   'discount_num': '0',\n",
       "   'gridcode': '5417708120',\n",
       "   'typecode': '110204',\n",
       "   'shopinfo': '2',\n",
       "   'poiweight': [],\n",
       "   'citycode': '0531',\n",
       "   'adname': '历下区',\n",
       "   'children': [],\n",
       "   'alias': [],\n",
       "   'tel': '0531-82959215',\n",
       "   'id': 'B0FFFEOKPV',\n",
       "   'tag': [],\n",
       "   'event': [],\n",
       "   'entr_location': '117.015285,36.656580',\n",
       "   'indoor_map': '0',\n",
       "   'email': [],\n",
       "   'timestamp': '2020-11-14 04:37:03',\n",
       "   'website': [],\n",
       "   'address': '南新街58号院',\n",
       "   'adcode': '370102',\n",
       "   'pname': '山东省',\n",
       "   'biz_type': 'tour',\n",
       "   'cityname': '济南市',\n",
       "   'postcode': [],\n",
       "   'match': '0',\n",
       "   'business_area': '泺源',\n",
       "   'indoor_data': {'truefloor': [], 'cpid': [], 'floor': []},\n",
       "   'childtype': [],\n",
       "   'exit_location': [],\n",
       "   'name': '济南老舍纪念馆',\n",
       "   'location': '117.015367,36.656622',\n",
       "   'shopid': [],\n",
       "   'navi_poiid': 'J50F041025_44160',\n",
       "   'groupbuy_num': '0'},\n",
       "  {'parent': [],\n",
       "   'distance': [],\n",
       "   'pcode': '370000',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': [], 'rating': '3.5', 'ticket_ordering': '0'},\n",
       "   'recommend': '0',\n",
       "   'type': '餐饮服务;中餐厅;中餐厅|风景名胜;风景名胜相关;旅游景点',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/94e7e02df27782101fac1355da1f1a80'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/eae4fcb964e30f8a67887d877e02b382'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/a984fb739cea3deb1d3551bd505357d6'}],\n",
       "   'discount_num': '0',\n",
       "   'gridcode': '5517003010',\n",
       "   'typecode': '050100|110000',\n",
       "   'shopinfo': '2',\n",
       "   'poiweight': [],\n",
       "   'citycode': '0531',\n",
       "   'adname': '天桥区',\n",
       "   'children': [],\n",
       "   'alias': [],\n",
       "   'tel': '15668429850;0531-85911111;0531-82924110',\n",
       "   'id': 'B02130XPI0',\n",
       "   'tag': [],\n",
       "   'event': [],\n",
       "   'entr_location': '117.002138,36.69703',\n",
       "   'indoor_map': '0',\n",
       "   'email': [],\n",
       "   'timestamp': '2020-11-16 00:27:38',\n",
       "   'website': [],\n",
       "   'address': '凤凰山南路凤凰山庄内(近标山南路)',\n",
       "   'adcode': '370105',\n",
       "   'pname': '山东省',\n",
       "   'biz_type': 'diner',\n",
       "   'cityname': '济南市',\n",
       "   'postcode': [],\n",
       "   'match': '0',\n",
       "   'business_area': '北园',\n",
       "   'indoor_data': {'truefloor': [], 'cpid': [], 'floor': []},\n",
       "   'childtype': [],\n",
       "   'exit_location': [],\n",
       "   'name': '凤凰山',\n",
       "   'location': '117.002570,36.697000',\n",
       "   'shopid': [],\n",
       "   'navi_poiid': 'J50F040024_92398',\n",
       "   'groupbuy_num': '0'},\n",
       "  {'parent': [],\n",
       "   'distance': [],\n",
       "   'pcode': '370000',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': [], 'rating': '5.0', 'ticket_ordering': '0'},\n",
       "   'recommend': '0',\n",
       "   'type': '风景名胜;风景名胜;教堂',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/c441d0b13049542cb47ab8a3d329ed99'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/f38d9dd66fa64dcd33256a3221334997'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/9295c378759313660b68a744ebe66f96'}],\n",
       "   'discount_num': '0',\n",
       "   'gridcode': '5517002510',\n",
       "   'typecode': '110206',\n",
       "   'shopinfo': '2',\n",
       "   'poiweight': [],\n",
       "   'citycode': '0531',\n",
       "   'adname': '历城区',\n",
       "   'children': [],\n",
       "   'alias': [],\n",
       "   'tel': [],\n",
       "   'id': 'B021306MFC',\n",
       "   'tag': [],\n",
       "   'event': [],\n",
       "   'entr_location': '117.065394,36.686136',\n",
       "   'indoor_map': '0',\n",
       "   'email': [],\n",
       "   'timestamp': '2020-11-16 06:45:38',\n",
       "   'website': 'www.hjljt.com',\n",
       "   'address': '洪楼路1号山东大学老校门口对面(近洪楼广场北)',\n",
       "   'adcode': '370112',\n",
       "   'pname': '山东省',\n",
       "   'biz_type': 'tour',\n",
       "   'cityname': '济南市',\n",
       "   'postcode': [],\n",
       "   'match': '0',\n",
       "   'business_area': '洪家楼',\n",
       "   'indoor_data': {'truefloor': [], 'cpid': [], 'floor': []},\n",
       "   'childtype': [],\n",
       "   'exit_location': [],\n",
       "   'name': '天主教济南总教区洪家楼主教座堂天主堂',\n",
       "   'location': '117.066042,36.686213',\n",
       "   'shopid': [],\n",
       "   'navi_poiid': 'J50F040025_20254',\n",
       "   'groupbuy_num': '0'},\n",
       "  {'parent': 'B0FFIOSQ2K',\n",
       "   'distance': [],\n",
       "   'pcode': '370000',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': [], 'rating': '4.6', 'ticket_ordering': '0'},\n",
       "   'recommend': '0',\n",
       "   'type': '风景名胜;风景名胜;寺庙道观',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/594ac17ec61f5e2780a5b83134ef8793'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/768d089d6dc409375fe42bad6186ac34'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/d8eb9bb5fc9d8fd70159841e654c6941'}],\n",
       "   'discount_num': '0',\n",
       "   'gridcode': '5517000112',\n",
       "   'typecode': '110205',\n",
       "   'shopinfo': '2',\n",
       "   'poiweight': [],\n",
       "   'citycode': '0531',\n",
       "   'adname': '历下区',\n",
       "   'children': [],\n",
       "   'alias': [],\n",
       "   'tel': '0531-86081089',\n",
       "   'id': 'B021306V3D',\n",
       "   'tag': [],\n",
       "   'event': [],\n",
       "   'entr_location': '117.022784,36.671899',\n",
       "   'indoor_map': '0',\n",
       "   'email': [],\n",
       "   'timestamp': '2020-11-16 06:25:37',\n",
       "   'website': [],\n",
       "   'address': '大明湖路214号',\n",
       "   'adcode': '370102',\n",
       "   'pname': '山东省',\n",
       "   'biz_type': 'tour',\n",
       "   'cityname': '济南市',\n",
       "   'postcode': '250011',\n",
       "   'match': '0',\n",
       "   'business_area': [],\n",
       "   'indoor_data': {'truefloor': [], 'cpid': [], 'floor': []},\n",
       "   'childtype': '301',\n",
       "   'exit_location': [],\n",
       "   'name': '济南府学文庙',\n",
       "   'location': '117.023047,36.670631',\n",
       "   'shopid': [],\n",
       "   'navi_poiid': 'J50F040025_96845',\n",
       "   'groupbuy_num': '0'},\n",
       "  {'parent': [],\n",
       "   'distance': [],\n",
       "   'pcode': '370000',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': [], 'rating': '4.3', 'ticket_ordering': '0'},\n",
       "   'recommend': '0',\n",
       "   'type': '风景名胜;公园广场;公园',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/91a17003f3d60d571c66abd7199c4efe'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/a809c31c5e33301027bb4c7affb98acf'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/217c46825c5a90f432a7711ea6fc1eb5'}],\n",
       "   'discount_num': '0',\n",
       "   'gridcode': '5516075710',\n",
       "   'typecode': '110101',\n",
       "   'shopinfo': '2',\n",
       "   'poiweight': [],\n",
       "   'citycode': '0531',\n",
       "   'adname': '天桥区',\n",
       "   'children': [],\n",
       "   'alias': [],\n",
       "   'tel': [],\n",
       "   'id': 'B021305NVH',\n",
       "   'tag': [],\n",
       "   'event': [],\n",
       "   'entr_location': '116.973716,36.710598',\n",
       "   'indoor_map': '0',\n",
       "   'email': [],\n",
       "   'timestamp': '2020-11-16 10:59:48',\n",
       "   'website': [],\n",
       "   'address': '安乐镇无影山北路',\n",
       "   'adcode': '370105',\n",
       "   'pname': '山东省',\n",
       "   'biz_type': 'tour',\n",
       "   'cityname': '济南市',\n",
       "   'postcode': [],\n",
       "   'match': '0',\n",
       "   'business_area': [],\n",
       "   'indoor_data': {'truefloor': [], 'cpid': [], 'floor': []},\n",
       "   'childtype': [],\n",
       "   'exit_location': [],\n",
       "   'name': '药山公园',\n",
       "   'location': '116.966606,36.711577',\n",
       "   'shopid': [],\n",
       "   'navi_poiid': 'J50F040024_50017',\n",
       "   'groupbuy_num': '0'},\n",
       "  {'parent': [],\n",
       "   'distance': [],\n",
       "   'pcode': '370000',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': [], 'rating': [], 'ticket_ordering': '0'},\n",
       "   'recommend': '0',\n",
       "   'type': '风景名胜;公园广场;公园',\n",
       "   'photos': [],\n",
       "   'discount_num': '0',\n",
       "   'gridcode': '5416776622',\n",
       "   'typecode': '110101',\n",
       "   'shopinfo': '2',\n",
       "   'poiweight': [],\n",
       "   'citycode': '0531',\n",
       "   'adname': '槐荫区',\n",
       "   'children': [],\n",
       "   'alias': [],\n",
       "   'tel': [],\n",
       "   'id': 'B0G1650HB4',\n",
       "   'tag': [],\n",
       "   'event': [],\n",
       "   'entr_location': '116.960869,36.641191',\n",
       "   'indoor_map': '0',\n",
       "   'email': [],\n",
       "   'timestamp': '2020-11-10 10:43:23',\n",
       "   'website': [],\n",
       "   'address': '南辛庄西路东侧',\n",
       "   'adcode': '370104',\n",
       "   'pname': '山东省',\n",
       "   'biz_type': 'tour',\n",
       "   'cityname': '济南市',\n",
       "   'postcode': [],\n",
       "   'match': '0',\n",
       "   'business_area': '南辛庄小区',\n",
       "   'indoor_data': {'truefloor': [], 'cpid': [], 'floor': []},\n",
       "   'childtype': [],\n",
       "   'exit_location': [],\n",
       "   'name': '南辛康养公园',\n",
       "   'location': '116.961097,36.641084',\n",
       "   'shopid': [],\n",
       "   'navi_poiid': [],\n",
       "   'groupbuy_num': '0'}],\n",
       " 'status': '1',\n",
       " 'info': 'OK'}"
      ]
     },
     "execution_count": 206,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "text(zhou_key,text_keywords,text_city)\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 207,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 周边搜索\n",
    "# 具体应用场景：用户可以通过关键字和指定中心地点，展开搜索四周的相关内容"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 208,
   "metadata": {},
   "outputs": [],
   "source": [
    "\"\"\"周边搜索函数\"\"\"\n",
    "\"\"\"location为中心点坐标，keywords为搜索内容关键字\"\"\"\n",
    "def around(key,location,keywords,city=None,radius=3000,sortrule=\"distance\",offset=20,page=1,extensions=\"base\",output='JSON',callback=None):\n",
    "    url = \"https://restapi.amap.com/v3/place/around?parameters\"\n",
    "    params = {\n",
    "        \"key\":key,\n",
    "        \"location\":location,\n",
    "        \"keywords\":keywords,\n",
    "        \"city\":city,\n",
    "        \"radius\":radius,\n",
    "        \"sortrule\":sortrule,\n",
    "        \"offset\":offset,\n",
    "        \"page\":page,\n",
    "        \"extensions\":extensions,\n",
    "        \"output\":output,\n",
    "        \"callback\":callback \n",
    "    }\n",
    "    response = requests.get(url,params=params)\n",
    "    result = response.json()\n",
    "    #result = pd.json_normalize(response.json()['pois'][0]['type'])\n",
    "    return result"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 209,
   "metadata": {},
   "outputs": [],
   "source": [
    "around_location = origin_聊城大学\n",
    "around_keywords = \"美食\""
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 210,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'suggestion': {'keywords': [], 'cities': []},\n",
       " 'count': '834',\n",
       " 'infocode': '10000',\n",
       " 'pois': [{'parent': [],\n",
       "   'address': '聊城大学东校区3号楼北',\n",
       "   'distance': '168',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'biz_type': 'diner',\n",
       "   'type': '餐饮服务;中餐厅;中餐厅',\n",
       "   'photos': [],\n",
       "   'typecode': '050100',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'name': '博苑餐厅',\n",
       "   'location': '116.013423,36.429964',\n",
       "   'tel': '13969527981',\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFFO24HY'},\n",
       "  {'parent': [],\n",
       "   'address': '聊城大学东校区博苑餐厅二楼4号5号窗口',\n",
       "   'distance': '193',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'biz_type': 'diner',\n",
       "   'type': '餐饮服务;快餐厅;快餐厅',\n",
       "   'photos': [],\n",
       "   'typecode': '050300',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'name': '贵州遵义羊肉粉',\n",
       "   'location': '116.012970,36.429390',\n",
       "   'tel': '18663553045',\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFLHHS3B'},\n",
       "  {'parent': [],\n",
       "   'address': '聊大东校区翰苑餐厅3楼',\n",
       "   'distance': '314',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'biz_type': 'diner',\n",
       "   'type': '餐饮服务;快餐厅;快餐厅',\n",
       "   'photos': [],\n",
       "   'typecode': '050300',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'name': '脆皮鸡肉拌饭(过桥米线)',\n",
       "   'location': '116.015444,36.430454',\n",
       "   'tel': [],\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFGMPTCK'},\n",
       "  {'parent': [],\n",
       "   'address': '开发区柳园街道办事处聊大东校体育场附属楼36号',\n",
       "   'distance': '540',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'biz_type': 'diner',\n",
       "   'type': '餐饮服务;快餐厅;快餐厅',\n",
       "   'photos': [],\n",
       "   'typecode': '050300',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'name': '正宗韩式烤冷面绝味荷叶饼(叮当美食城店)',\n",
       "   'location': '116.017715,36.432433',\n",
       "   'tel': '15224295179',\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFJPM7CG'},\n",
       "  {'parent': [],\n",
       "   'address': '柳园街道办事处聊大东校体育场附属楼36号',\n",
       "   'distance': '559',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'biz_type': 'diner',\n",
       "   'type': '餐饮服务;快餐厅;快餐厅',\n",
       "   'photos': [],\n",
       "   'typecode': '050300',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'name': '东北快餐',\n",
       "   'location': '116.017551,36.433197',\n",
       "   'tel': '13234202878',\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFHGGKGF'},\n",
       "  {'parent': [],\n",
       "   'address': '聊城大学东校区国防生训练场后美食城',\n",
       "   'distance': '598',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'biz_type': 'diner',\n",
       "   'type': '餐饮服务;中餐厅;特色/地方风味餐厅',\n",
       "   'photos': [],\n",
       "   'typecode': '050118',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'name': '饭饭军团烤肉拌饭',\n",
       "   'location': '116.018658,36.430959',\n",
       "   'tel': '18663524916',\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFLJB5W5'},\n",
       "  {'parent': [],\n",
       "   'address': '柳园街道办事处聊城大学体育场后街附属楼',\n",
       "   'distance': '637',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'biz_type': 'diner',\n",
       "   'type': '餐饮服务;外国餐厅;韩国料理',\n",
       "   'photos': [],\n",
       "   'typecode': '050203',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'name': '韩食小屋(食尚密语美食城店)',\n",
       "   'location': '116.013115,36.431016',\n",
       "   'tel': '18864883519',\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFK9DH25'},\n",
       "  {'parent': [],\n",
       "   'address': '光岳路聊大东校国防生训练场丁香时尚餐厅东20米',\n",
       "   'distance': '638',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'biz_type': 'diner',\n",
       "   'type': '餐饮服务;中餐厅;中餐厅',\n",
       "   'photos': [],\n",
       "   'typecode': '050100',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'name': '满宝鑫',\n",
       "   'location': '116.019016,36.431838',\n",
       "   'tel': '18653618530',\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFGD3S9L'},\n",
       "  {'parent': [],\n",
       "   'address': '聊大东校体育场附属楼22号速食城内',\n",
       "   'distance': '639',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'biz_type': 'diner',\n",
       "   'type': '餐饮服务;快餐厅;快餐厅',\n",
       "   'photos': [],\n",
       "   'typecode': '050300',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'name': '陕西油泼面(牛肉板面)',\n",
       "   'location': '116.019020,36.431878',\n",
       "   'tel': '13184154894',\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFHR7JQV'},\n",
       "  {'parent': [],\n",
       "   'address': '柳园街道办事处光岳路聊大东校区体育场附属楼32-33号',\n",
       "   'distance': '645',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'biz_type': 'diner',\n",
       "   'type': '餐饮服务;快餐厅;快餐厅',\n",
       "   'photos': [],\n",
       "   'typecode': '050300',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'name': '杨家小笼包',\n",
       "   'location': '116.019131,36.431639',\n",
       "   'tel': '15806354882;15020666632',\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFL1193E'},\n",
       "  {'parent': [],\n",
       "   'address': '柳园街道办事处光岳路聊大东校区体育场附属楼2829号',\n",
       "   'distance': '645',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'biz_type': 'diner',\n",
       "   'type': '餐饮服务;快餐厅;快餐厅',\n",
       "   'photos': [],\n",
       "   'typecode': '050300',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'name': '正新鸡排',\n",
       "   'location': '116.019038,36.432106',\n",
       "   'tel': '18063562176;18560595979',\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFK34IUJ'},\n",
       "  {'parent': [],\n",
       "   'address': '柳园街道办事处聊城大学东校区后街体育附属楼21号',\n",
       "   'distance': '646',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'biz_type': 'diner',\n",
       "   'type': '餐饮服务;中餐厅;中餐厅',\n",
       "   'photos': [],\n",
       "   'typecode': '050100',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'name': '乌所味',\n",
       "   'location': '116.019041,36.432151',\n",
       "   'tel': '18753401733',\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFJ1WNZQ'},\n",
       "  {'parent': [],\n",
       "   'address': '柳园街道办事处聊大东校区体育场附属楼26号',\n",
       "   'distance': '647',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'biz_type': 'diner',\n",
       "   'type': '餐饮服务;快餐厅;快餐厅',\n",
       "   'photos': [],\n",
       "   'typecode': '050300',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'name': '川面府',\n",
       "   'location': '116.019043,36.432190',\n",
       "   'tel': '13468396837',\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFGLWYGP'},\n",
       "  {'parent': [],\n",
       "   'address': '聊城大学东校区美食街',\n",
       "   'distance': '649',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'biz_type': 'diner',\n",
       "   'type': '餐饮服务;快餐厅;快餐厅',\n",
       "   'photos': [],\n",
       "   'typecode': '050300',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'name': '梅花糕(聊大东校店)',\n",
       "   'location': '116.019046,36.432240',\n",
       "   'tel': '13793068730',\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFIIPSC9'},\n",
       "  {'parent': [],\n",
       "   'address': '柳园街道办事处光岳路聊大东校体育场附属楼36号',\n",
       "   'distance': '651',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'biz_type': 'diner',\n",
       "   'type': '餐饮服务;快餐厅;快餐厅',\n",
       "   'photos': [],\n",
       "   'typecode': '050300',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'name': '老家味道快餐',\n",
       "   'location': '116.019196,36.431697',\n",
       "   'tel': '13396354465',\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFJCVIST'},\n",
       "  {'parent': [],\n",
       "   'address': '聊大东校东门内美食街大学生之家3楼(一楼是联通营业厅)',\n",
       "   'distance': '651',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'biz_type': 'diner',\n",
       "   'type': '餐饮服务;中餐厅;中餐厅',\n",
       "   'photos': [],\n",
       "   'typecode': '050100',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'name': '韩品小厨(聊大东校店)',\n",
       "   'location': '116.019051,36.432322',\n",
       "   'tel': '17362281586',\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFHFI1QT'},\n",
       "  {'parent': [],\n",
       "   'address': '光岳路聊大东校区体育场附属楼28-29号',\n",
       "   'distance': '653',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'biz_type': 'diner',\n",
       "   'type': '餐饮服务;中餐厅;中餐厅',\n",
       "   'photos': [],\n",
       "   'typecode': '050100',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'name': '丁香花食尚餐厅(聊大东校店)',\n",
       "   'location': '116.019153,36.431999',\n",
       "   'tel': '15506350800;13258983355',\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFGF42LL'},\n",
       "  {'parent': [],\n",
       "   'address': '聊大东校区翰苑餐厅三楼',\n",
       "   'distance': '655',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'biz_type': 'diner',\n",
       "   'type': '餐饮服务;快餐厅;快餐厅',\n",
       "   'photos': [],\n",
       "   'typecode': '050300',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'name': '淮南牛肉汤',\n",
       "   'location': '116.019142,36.432140',\n",
       "   'tel': '13863581636',\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFH9P3LH'},\n",
       "  {'parent': [],\n",
       "   'address': '光岳路聊城大学东校区体育场附属楼21、22号',\n",
       "   'distance': '660',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'biz_type': 'diner',\n",
       "   'type': '餐饮服务;快餐厅;快餐厅',\n",
       "   'photos': [],\n",
       "   'typecode': '050300',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'name': '香锅走起(聊大店)',\n",
       "   'location': '116.019133,36.432220',\n",
       "   'tel': '18865123626;13386351131',\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFJHFD7Y'},\n",
       "  {'parent': [],\n",
       "   'address': '柳园街道办事处聊城大学体育场后街附属楼',\n",
       "   'distance': '675',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'biz_type': 'diner',\n",
       "   'type': '餐饮服务;快餐厅;快餐厅',\n",
       "   'photos': [],\n",
       "   'typecode': '050300',\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'childtype': [],\n",
       "   'name': '阿宏砂锅饭(食尚蜜语美食城店)',\n",
       "   'location': '116.019135,36.432851',\n",
       "   'tel': '13969510860',\n",
       "   'shopid': [],\n",
       "   'id': 'B0FFK68TX4'}],\n",
       " 'status': '1',\n",
       " 'info': 'OK'}"
      ]
     },
     "execution_count": 210,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "around(zhou_key,around_location,around_keywords)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 211,
   "metadata": {},
   "outputs": [],
   "source": [
    "# ID查询\n",
    "# 具体应用场景：用户通过兴趣点的唯一标识ID查询到此地点的基本信息（照片、地址等）"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 212,
   "metadata": {},
   "outputs": [],
   "source": [
    "\"\"\"ID查询函数\"\"\"\n",
    "\"\"\"id为兴趣点的唯一标识ID\"\"\"\n",
    "def id_search(key,id,output='JSON',callback=None):\n",
    "    url = \"https://restapi.amap.com/v3/place/detail?parameters \"\n",
    "    params = {\n",
    "        \"key\":key,\n",
    "        \"id\":id,\n",
    "        \"output\":output,\n",
    "        \"callback\":callback \n",
    "    }\n",
    "    response = requests.get(url,params=params)\n",
    "    result = response.json()\n",
    "    return result"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 213,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'count': '1',\n",
       " 'infocode': '10000',\n",
       " 'pois': [{'parent': [],\n",
       "   'distance': [],\n",
       "   'pcode': '440000',\n",
       "   'importance': [],\n",
       "   'biz_ext': {'cost': [],\n",
       "    'opentime2': '06:00-22:00',\n",
       "    'level': 'AAAA',\n",
       "    'rating': '5.0',\n",
       "    'open_time': '06:00-22:00',\n",
       "    'ticket_ordering': '0'},\n",
       "   'recommend': '0',\n",
       "   'type': '风景名胜;风景名胜;国家级景点',\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/4e2bbf7acefcbf131deb53877fc063f5'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/0560d6a442cb5b09a8857c9789e50377'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/8364dc2f5310e32090a01257b0b15594'}],\n",
       "   'discount_num': '0',\n",
       "   'gridcode': '3413525212',\n",
       "   'typecode': '110202',\n",
       "   'shopinfo': '2',\n",
       "   'poiweight': [],\n",
       "   'deep_info': {'level': [],\n",
       "    'rating': '3.6',\n",
       "    'opentime_GDF': '[(h6){h15}]',\n",
       "    'recommend': '广州起义烈士陵园',\n",
       "    'type': 'scenic',\n",
       "    'opentime': '06:00-21:00',\n",
       "    'photos': [{'title': '广州起义烈士陵园',\n",
       "      'url': 'http://store.is.autonavi.com/showpic/3d8726d8431492d22135ec3cf2348c68'},\n",
       "     {'title': '广州起义烈士陵园',\n",
       "      'url': 'http://store.is.autonavi.com/showpic/ae376fc1572b5aca5c0036376df75bb7'},\n",
       "     {'title': '广州起义烈士陵园',\n",
       "      'url': 'http://store.is.autonavi.com/showpic/b4a194c027395b8b4d1ad59fa1f6a9b9'},\n",
       "     {'title': '广州起义烈士陵园',\n",
       "      'url': 'http://store.is.autonavi.com/showpic/f78802a1ebaac14c5db47fcaff125471'},\n",
       "     {'title': '广州起义烈士陵园',\n",
       "      'url': 'http://store.is.autonavi.com/showpic/e7da981e47c1d4d0e7852f34b18eb157'},\n",
       "     {'title': '广州起义烈士陵园',\n",
       "      'url': 'http://store.is.autonavi.com/showpic/4c86ba8aff26d9c72a5cc6fc5b1a455a'}],\n",
       "    'ordering_wap_url': [],\n",
       "    'ordering_web_url': [],\n",
       "    'deepsrc': [],\n",
       "    'price': '0.00',\n",
       "    'intro': '广州起义中英勇牺牲的烈士兴建的纪念性公园。建于1954年,总面积18万平方米,1962年7月被广东省人大常委会确定为省级重点文物保护单位;1986年10月,经国务院批准为全国重点烈士纪念建筑物保护单位;1996年列为全国爱国主义教育基地,1997年被列为全国中小学生爱国主义教育示范基地;是全国红色之旅百个经典旅游景区之一、省级重点文物保护单位、曾被市委、市政府、市精神文明办评为广州市“十佳旅游景点”之一。全园总面积18.6公顷,按功能的不同分为陵和园两个区,陵区为纪念瞻仰区,园区为休憩游览区。陵区建筑庄严肃穆,绿化以苍松翠柏和红花为基调;园区则是典型的岭南园林风格,以清新淡雅的绿化配置和园林造景为特色。',\n",
       "    'season': '1|2|3|4|5|6|7|8|9|10|11|12',\n",
       "    'theme': '名胜古迹'},\n",
       "   'citycode': '020',\n",
       "   'adname': '越秀区',\n",
       "   'indoor_src': [],\n",
       "   'children': [],\n",
       "   'tel': '020-83828521;020-83825037',\n",
       "   'id': 'B00140AKR1',\n",
       "   'tag': [],\n",
       "   'event': [],\n",
       "   'entr_location': '113.2841,23.127479',\n",
       "   'indoor_map': '0',\n",
       "   'email': [],\n",
       "   'timestamp': '2020-11-16 21:45:09',\n",
       "   'website': 'www.gzlsly.com',\n",
       "   'address': '中山二路92号',\n",
       "   'adcode': '440104',\n",
       "   'pname': '广东省',\n",
       "   'biz_type': 'tour',\n",
       "   'cityname': '广州市',\n",
       "   'postcode': [],\n",
       "   'match': '0',\n",
       "   'business_area': '东风',\n",
       "   'indoor_data': {'truefloor': [], 'cpid': [], 'floor': []},\n",
       "   'childtype': [],\n",
       "   'rich_content': [],\n",
       "   'exit_location': [],\n",
       "   'name': '广州起义烈士陵园',\n",
       "   'location': '113.285955,23.128857',\n",
       "   'shopid': [],\n",
       "   'navi_poiid': 'F49F011043_68632',\n",
       "   'groupbuy_num': '0'}],\n",
       " 'status': '1',\n",
       " 'info': 'OK'}"
      ]
     },
     "execution_count": 213,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "id_search(zhou_key,'B00140AKR1')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 214,
   "metadata": {},
   "outputs": [],
   "source": [
    "# IP定位\n",
    "# 具体应用场景：通过IP搜索到此IP的相关信息"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 215,
   "metadata": {},
   "outputs": [],
   "source": [
    "\"\"\"IP定位函数\"\"\"\n",
    "def ip_locating(key,ip,output='JSON'):\n",
    "    url = \"https://restapi.amap.com/v3/ip?parameters\"\n",
    "    params = {\n",
    "        \"key\":key,\n",
    "        \"ip\":ip,\n",
    "        \"output\":output\n",
    "    }\n",
    "    response = requests.get(url,params=params)\n",
    "    result = response.json()\n",
    "    return result"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 216,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'status': '1',\n",
       " 'info': 'OK',\n",
       " 'infocode': '10000',\n",
       " 'province': '广东省',\n",
       " 'city': '广州市',\n",
       " 'adcode': '440100',\n",
       " 'rectangle': '113.1017375,22.93212254;113.6770499,23.3809537'}"
      ]
     },
     "execution_count": 216,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "ip_locating(zhou_key,\"61.242.54.73\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 217,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 静态地图\n",
    "# 具体应用场景：为用户返回指定地点的地图，地图中包括周边路况、基础设施。"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 218,
   "metadata": {},
   "outputs": [],
   "source": [
    "\"\"\"获取静态地图函数\"\"\"\n",
    "\"\"\"location为中心点坐标，zoom为地图缩放级别:[1,17]\"\"\"\n",
    "def staticmap(key,location,zoom,size=\"600*300\",scale=2,markers=None,labels=None,paths=None,traffic=1):\n",
    "    #zoom=None,size=400*400,scale=2,markers=None,labels=None,paths=None,traffic=1\n",
    "    url = \"https://restapi.amap.com/v3/staticmap?parameters\"\n",
    "    params = {\n",
    "        \"key\":key,\n",
    "        \"location\":location,\n",
    "        \"zoom\":zoom,\n",
    "        \"size\":size,\n",
    "        \"scale\":scale,\n",
    "        \"markers\":markers,\n",
    "        \"labels\":labels,\n",
    "        \"paths\":paths,\n",
    "        \"traffic\":traffic\n",
    "    }\n",
    "    r = requests.get(url,params=params)\n",
    "    result = r.content\n",
    "    from PIL import Image\n",
    "    from io import BytesIO\n",
    "    i = Image.open(BytesIO(r.content))\n",
    "    results = i\n",
    "    return results"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 219,
   "metadata": {},
   "outputs": [],
   "source": [
    "staticmap_location = origin_聊城大学"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 220,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAABLAAAAJYCAMAAABFOO8oAAADAFBMVEXZ3+EAWsf4+Pba4OPa4eTz8u/i7/fo8ftdamT+/P7+9/Xm4tvT4Obt8vXa3dvi4Nnp8PNZanaX5nHx8e63u70AVbj29fTq6OPv8vna5+0Uk8PZ5uvb39vQ3uOWe1nHy83+/fvn5N/j39ja18/z8+/j6erz59jg3NL59/TCwL/09vSLmJvKycbW4+nj7O/uriX38erq8fSny9+61uXj4Nmr23Tv3MGoqavp5+Hy9vf39fHz8vGmqKnIyMlwrM3a4uPb3NnXn1fW29zf3dbw9Pe3trXY5u7d6vDj5eSHudWqqamZw9rw7+XK3urt6+jf2dDn5eDh6/Dg5ubJycrl5uTd3d2xsrGqqKfu7OfLy8zc18yrrbCtq6qsra2vsbLq6+fV1dbG2+jOhyvQ0tLs06+HiYrK09cxMzScnZ9IS0wbHR1ZW1zExcZpbG/Skj7l5ebp6+m50Nzr6uqLvNb0xFfes3Z4sdC/2ObW1dSSlJbJexZqqMu2tLKbmZfQ4uy8vLvh6euhx9yYl5Xi4+GytLXpyqDx8vL19vWzuLq5trORvtd+gILkvYZ2eXtFnNGEh4mOkZN0dniLjI2Xm5zu8/bBwsOwz+JwcnV7fH64ubrh5+qChIXn4Nbg4OHR0dBtb3HO2+DGxcR0rc7p7s2lpaS9v7/s8/bn7e+enZz6+vqysrHb1su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vb+xq/H884WvBJw6RNvCUlFZj8NrYGClCKdwAeOj+3KkcPV3crjlafCLSJ+ZzS36tdzCPvWBdVdrfmh+wBFIR2DhmPsRnj9wZ7gO8Ivu3Km4s1vcuwxWCRuXLRZdBXaXMtpXfd1HZ7fDhWe3aBm0SEiAAJcfUrh6skTmedFxY8Dgwdj8oj8VNjKAbnZ1+zQJDFhZpB+wftHvWfTV+a4H8T1x7ED6PfLA5PM7Fj9wYFktBN35xcv+4RcFvr3MDywyClbHWDcZSu2/HMjRQJCPeaWgOW0tUwKLtATU8M3W/IAjUIjmfZ5X0MEp2tPYNQWRyPV8V2PKnRGN9p/fcX6HuGhyrfjAFHBVao/UFsoL6kFPc1F6s/9/m7V+BjhN6WgAAAAASUVORK5CYII=\n",
      "text/plain": [
       "<PIL.PngImagePlugin.PngImageFile image mode=P size=1200x600 at 0x13CBC6F0220>"
      ]
     },
     "execution_count": 220,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "staticmap(zhou_key,staticmap_location,17)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 221,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 坐标转换"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 222,
   "metadata": {},
   "outputs": [],
   "source": [
    "\"\"\"坐标转换函数\"\"\"\n",
    "\"\"\"location为所需转换的地址的坐标\"\"\"\n",
    "def coordinate_convert(key,locations,coordsys=\"autonavi\",output='JSON'):\n",
    "    url = \"https://restapi.amap.com/v3/assistant/coordinate/convert?parameters\"\n",
    "    params = {\n",
    "        \"key\":key,\n",
    "        \"locations\":locations,\n",
    "        \"coordsys\":coordsys,\n",
    "        \"output\":output\n",
    "    }\n",
    "    response = requests.get(url,params=params)\n",
    "    result = response.json()\n",
    "    return result"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 223,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'status': '1',\n",
       " 'info': 'ok',\n",
       " 'infocode': '10000',\n",
       " 'locations': '116.011980,36.430933'}"
      ]
     },
     "execution_count": 223,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "coordinate_convert(zhou_key,origin_聊城大学)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 224,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 天气查询\n",
    "# 具体应用场景：为用户返回指定地点的当前天气状况或预测天气状况。"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 225,
   "metadata": {},
   "outputs": [],
   "source": [
    "\"\"\"查询天气函数\"\"\"\n",
    "\"\"\"city为所需查询的城市的城市编码\"\"\"\n",
    "def weather(key,city,extensions=\"base\",output='JSON'):\n",
    "    url = \"https://restapi.amap.com/v3/weather/weatherInfo?parameters\"\n",
    "    params = {\n",
    "        \"key\":key,\n",
    "        \"city\":city,\n",
    "        \"extensions\":extensions,\n",
    "        \"output\":output\n",
    "    }\n",
    "    response = requests.get(url,params=params)\n",
    "    result = pd.json_normalize(response.json()['lives'])\n",
    "    return result"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 226,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>province</th>\n",
       "      <th>city</th>\n",
       "      <th>adcode</th>\n",
       "      <th>weather</th>\n",
       "      <th>temperature</th>\n",
       "      <th>winddirection</th>\n",
       "      <th>windpower</th>\n",
       "      <th>humidity</th>\n",
       "      <th>reporttime</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>山东</td>\n",
       "      <td>东昌府区</td>\n",
       "      <td>371502</td>\n",
       "      <td>阴</td>\n",
       "      <td>11</td>\n",
       "      <td>东南</td>\n",
       "      <td>≤3</td>\n",
       "      <td>98</td>\n",
       "      <td>2020-11-17 00:55:06</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "  province  city  adcode weather temperature winddirection windpower humidity  \\\n",
       "0       山东  东昌府区  371502       阴          11            东南        ≤3       98   \n",
       "\n",
       "            reporttime  \n",
       "0  2020-11-17 00:55:06  "
      ]
     },
     "execution_count": 226,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "weather(zhou_key,\"371502\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 227,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 输入提示\n",
    "# 具体应用场景：为用户搜索与关键词相关的地点。"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 228,
   "metadata": {},
   "outputs": [],
   "source": [
    "\"\"\"获取输入提示函数\"\"\"\n",
    "\"\"\"keywords为搜索关键字，city为所需查询的城市的城市编码\"\"\"\n",
    "def inputtips(key,keywords,city,type=None,location=None,citylimit=\"true\",datatype=\"all\",output='JSON',callback=None):\n",
    "    url = \"https://restapi.amap.com/v3/assistant/inputtips?parameters\"\n",
    "    params = {\n",
    "        \"key\":key,\n",
    "        \"keywords\":keywords,\n",
    "        \"city\":city,\n",
    "        \"type\":type,\n",
    "        \"location\":location,\n",
    "        \"citylimit\":citylimit,\n",
    "        \"datatype\":datatype,\n",
    "        \"output\":output,\n",
    "        \"callback\":callback\n",
    "    }\n",
    "    response = requests.get(url,params=params)\n",
    "    result = pd.json_normalize(response.json()['tips'])\n",
    "    return result"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 229,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>id</th>\n",
       "      <th>name</th>\n",
       "      <th>district</th>\n",
       "      <th>adcode</th>\n",
       "      <th>location</th>\n",
       "      <th>address</th>\n",
       "      <th>typecode</th>\n",
       "      <th>city</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>B0FFG6Z3PO</td>\n",
       "      <td>众顺汽车快修养护中心</td>\n",
       "      <td>山东省聊城市东昌府区</td>\n",
       "      <td>371502</td>\n",
       "      <td>115.983209,36.449575</td>\n",
       "      <td>健康路与北河庄街交叉口东50米</td>\n",
       "      <td>030100|010400</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>B027B0P1ZQ</td>\n",
       "      <td>中北汽修美容装饰</td>\n",
       "      <td>山东省聊城市东昌府区</td>\n",
       "      <td>371502</td>\n",
       "      <td>115.972360,36.452986</td>\n",
       "      <td>镜明路与青年林街交叉口北100米</td>\n",
       "      <td>030100</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>B027B0P1YA</td>\n",
       "      <td>鼎元汽修玛吉斯轮胎服务中心</td>\n",
       "      <td>山东省聊城市东昌府区</td>\n",
       "      <td>371502</td>\n",
       "      <td>115.980720,36.450288</td>\n",
       "      <td>利民西路伊斯兰饭庄西首50米</td>\n",
       "      <td>010400|030000</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>B0FFKSQ4E1</td>\n",
       "      <td>老班长汽修</td>\n",
       "      <td>山东省聊城市东昌府区</td>\n",
       "      <td>371502</td>\n",
       "      <td>115.994128,36.463815</td>\n",
       "      <td>花园路与兴华路,路口西500米路北糖果盒后</td>\n",
       "      <td>030000</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>B0FFJ0EQVT</td>\n",
       "      <td>九号车公馆汽车维修店</td>\n",
       "      <td>山东省聊城市东昌府区</td>\n",
       "      <td>371502</td>\n",
       "      <td>115.983627,36.448479</td>\n",
       "      <td>铁塔商场清孝街19号</td>\n",
       "      <td>030000</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>B0GUKSD5ZW</td>\n",
       "      <td>聊城市奔宝行服务中心(鼎顺花园店)</td>\n",
       "      <td>山东省聊城市东昌府区</td>\n",
       "      <td>371502</td>\n",
       "      <td>115.978014,36.452412</td>\n",
       "      <td>古楼办事处卫育南路鼎舜花园小区B区2幢1至2层五室</td>\n",
       "      <td>030000</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>B0FFH1B7TT</td>\n",
       "      <td>洗车美容快修</td>\n",
       "      <td>山东省聊城市东昌府区</td>\n",
       "      <td>371502</td>\n",
       "      <td>115.982103,36.472529</td>\n",
       "      <td>建设西路南50米</td>\n",
       "      <td>010000</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>B0FFMEA5RX</td>\n",
       "      <td>聊城汽车轮毂修复中心</td>\n",
       "      <td>山东省聊城市东昌府区</td>\n",
       "      <td>371502</td>\n",
       "      <td>115.973507,36.468493</td>\n",
       "      <td>振兴西路21号楼-15号</td>\n",
       "      <td>030000</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>B0FFGYEMRK</td>\n",
       "      <td>华人汽修</td>\n",
       "      <td>山东省聊城市东昌府区</td>\n",
       "      <td>371502</td>\n",
       "      <td>115.971873,36.472475</td>\n",
       "      <td>建设西路102附近</td>\n",
       "      <td>030000</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>B027B0P1O4</td>\n",
       "      <td>左转弯汽修</td>\n",
       "      <td>山东省聊城市东昌府区</td>\n",
       "      <td>371502</td>\n",
       "      <td>115.950543,36.461051</td>\n",
       "      <td>兴华西路国税局北左转</td>\n",
       "      <td>030000</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "           id               name    district  adcode              location  \\\n",
       "0  B0FFG6Z3PO         众顺汽车快修养护中心  山东省聊城市东昌府区  371502  115.983209,36.449575   \n",
       "1  B027B0P1ZQ           中北汽修美容装饰  山东省聊城市东昌府区  371502  115.972360,36.452986   \n",
       "2  B027B0P1YA      鼎元汽修玛吉斯轮胎服务中心  山东省聊城市东昌府区  371502  115.980720,36.450288   \n",
       "3  B0FFKSQ4E1              老班长汽修  山东省聊城市东昌府区  371502  115.994128,36.463815   \n",
       "4  B0FFJ0EQVT         九号车公馆汽车维修店  山东省聊城市东昌府区  371502  115.983627,36.448479   \n",
       "5  B0GUKSD5ZW  聊城市奔宝行服务中心(鼎顺花园店)  山东省聊城市东昌府区  371502  115.978014,36.452412   \n",
       "6  B0FFH1B7TT             洗车美容快修  山东省聊城市东昌府区  371502  115.982103,36.472529   \n",
       "7  B0FFMEA5RX         聊城汽车轮毂修复中心  山东省聊城市东昌府区  371502  115.973507,36.468493   \n",
       "8  B0FFGYEMRK               华人汽修  山东省聊城市东昌府区  371502  115.971873,36.472475   \n",
       "9  B027B0P1O4              左转弯汽修  山东省聊城市东昌府区  371502  115.950543,36.461051   \n",
       "\n",
       "                     address       typecode city  \n",
       "0            健康路与北河庄街交叉口东50米  030100|010400   []  \n",
       "1           镜明路与青年林街交叉口北100米         030100   []  \n",
       "2             利民西路伊斯兰饭庄西首50米  010400|030000   []  \n",
       "3      花园路与兴华路,路口西500米路北糖果盒后         030000   []  \n",
       "4                 铁塔商场清孝街19号         030000   []  \n",
       "5  古楼办事处卫育南路鼎舜花园小区B区2幢1至2层五室         030000   []  \n",
       "6                   建设西路南50米         010000   []  \n",
       "7               振兴西路21号楼-15号         030000   []  \n",
       "8                  建设西路102附近         030000   []  \n",
       "9                 兴华西路国税局北左转         030000   []  "
      ]
     },
     "execution_count": 229,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "inputtips(zhou_key,\"汽修店\",\"371502\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.8.3"
  },
  "toc": {
   "base_numbering": 1,
   "nav_menu": {},
   "number_sections": true,
   "sideBar": true,
   "skip_h1_title": false,
   "title_cell": "Table of Contents",
   "title_sidebar": "Contents",
   "toc_cell": false,
   "toc_position": {
    "height": "432.333px",
    "left": "515px",
    "top": "110px",
    "width": "165px"
   },
   "toc_section_display": true,
   "toc_window_display": true
  }
 },
 "nbformat": 4,
 "nbformat_minor": 4
}
